Web Services

stokefc22

Member
Hi All,

Please forgive me if I say something that makes no sense as this is my first real taste of using web services...

We have an existing link to a third party system whereby we connect to a WSDL document and run a routine to send off an xml string of data. This has worked happily for a good few years however this week the third party wanted to change the URL to point to another WSDL document on the same server.

No problem I hear you say... well now I cannot for the life of me get it to connect to the server, we've checked the document and all 'seems' well the targetnamespace is there etc etc.

My simple code snippet is
Code:
def var hwebservice as handle.

def var chrurl as character.

assign chrurl = "-WSDL http://ipAddress:Port/DynamicsPluginWS.asmx?wsdl".

create server hwebservice.

hwebservice:connect(chrUrl).

message hwebservice:connected() view-as alert-box.

Obviously with the ipaddress and port substituted for real values.

If I enter the address into a web browser I can successfully reach the service description.

The only thing to change is the URL and the old one was as follows

http://webaddres:port/ProgressIF.asmx?WSDL

Does anyone have any idea what could be wrong at my end?

When trying to connect I receive errors 9407 and 11748.

I'm using 10.1c
 
Are you calling the given code from the Unix? And testing the webservice from the Windows? There could be a firewall issue between the Unix Box and the third party system.
 

stokefc22

Member
Are you calling the given code from the Unix? And testing the webservice from the Windows? There could be a firewall issue between the Unix Box and the third party system.

Both windows environments Saptarshi, and the old URL and new URL are both on the same server so I think the problem is the actual document not the machine it lives on??
 
Top