Web Service Consumer

Hello

I am trying to create a web service consumer in my local database.

I created a LS Lib and imported the WSDL file. ( I had to manually update the location attribute since always comes as localhost and put the DNS of the server hosting the web service )

Then I created a LS agent to invoke the web service but when I ran the agent I get the following error:

Web Service method error org.xml.saxParseException: Whit spaces are required between publcId and systemId

The web service is actually very simple see the code below:

Class Alpha

Sub new

End Sub



Function serverName As String

	serverName = "Hola Mundo!"

End Function

End Class

Any Ideas?

Thanks

Subject: Try it on a server

Not sure this is the actual solution but I had a similar experience. I created the code in a Web Service provider on a server instead. Opened the WS in a browser, saved the wsdl-file on my local machine and then created a consumer using that local file.

This worked for me.

Subject: Take a look at this post

[Web service sample]