Register / Login
posted 3 months ago
I used wsimport to create a webservice client.
My question is, what are the parameters of the @WebServiceClient annotation:
@WebServiceClient(name = ?, targetNamespace = ?, wsdlLocation = ?)
Which one of these is the service endpoint? What is the name? Does the wsdlLocation end with "?wsdl" ?
The service provider says I do not have the service endpoint correct. Which of the parameters refer to the service endpoint?
In the generated code, I see the
QName = new QName( <targetNamespace> + <name>;
Later in the generated code, in method getSoap11, I see:
return super.getPort (new QName( <targetNamespace> + <prefix of service name> + "Soap11"));
This is the method that the generated code calls.
The targetnamespace and service endpoint are very different as provided by the service provider.
Could someone explain some of the generated code and how it pertains to the service endpoint?
Thank you for any help you can give.
Please Help regarding error while create *Service class by using wsimport glassfish v2
Problem accessing webservice from client code
Consuming SOA Suite WSDL SOAP
Exception on while deploying Ear using Glassfish+Apache CXF 2.3.1+Eclipse Helios