Web Service error

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
harish841913
Participant
Posts: 10
Joined: Fri May 14, 2010 4:53 am

Web Service error

Post by harish841913 »

When i try to run web services i am getting error as

main_program: Syntax error: Error in "export" operator: Error in operator arg: In field "PostalCode": Expected ";", got: ".", line 322
In field "PostalCode": Expected ";", got: ".", line 323
In field "PrivateMailbox": Expected ";", got: ".", line 325
In field "USLACS": Expected ";", got: ".", line 348
In field "RecordType": Expected ";", got: ".", line 360
In field "LocationCode": Expected ";", got: ".", line 368
In field "MatchCode": Expected ";", got: ".", line 369
In field "StreetSide": Expected ";", got: ".", line 387
In field "Geocoder": Expected ";", got: ".", line 415
In field "Status": Expected ";", got: ".", line 423
In field "Status": Expected ";", got: ".", line 424

But when same webservice is called using .net application i am able to get latitude and longitude information. Can you please help me on this.

I am using
AddressLine1 = "2300 Clayton Rd";
WSInput[1].AddressLine2 = "Suite 1000";
WSInput[1].City = "Concord";
WSInput[1].StateProvince = "CA";
WSInput[1].PostalCode = "94520";

as input fields
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You appear to be using "." as the delimiter whereas the web service you are calling is expecting ";".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply