I keep getting an error when I try to send a message from a client SOAP service to the provider. I used the WSDL to create the Java code stubs. The target namespace in the WSDL, however, contains a space. So when I go to send the message I get this error:
"Unable to create a new URI instance for generated endpoint URI string"
The URI giving me an issue is http://localhost/EnterpriseWebService/Enterprise Connect
The space after Enterprise is causing the issue. But when the Java stubs create the service, it seems to convert the QNAME that contains that string of "http://localhost/EnterpriseWebService/Enterprise Connect" to a URI which throws and error.
If I take out the space or change it to an underscore or something, it just throws a different error saying that the service isn't valid.
Anyway to get around this?
Aucun commentaire:
Enregistrer un commentaire