Hi! Everyone,
I have a query regarding the Artifacts (especially the Port class) generated by wsimport.
I took following two documents :
1. StringProcessorService.wsdl
2. StringProcessorService_Payload.xsd
Reference: snippets taken from IVAN's guide
I Placed both the documents in a directory and then executed wsimport on my command prompt:
c:\wsdl\>wsimport -p clientside -s . StringProcessorService.wsdl
StringProcessorService.wsdl
StringProcessorService_Payload.xsd
Doubt:
When I am looking at the code generated inside the Port class(StringProcessorPort.java) I found following
public ReverseStringResponse reverseString(
@WebParam(name = "reverseStringReq", targetNamespace = "http://www.instinct.com/stringprocessor", partName = "parameters")
ReverseStringRequest parameters);
The parameters and return type are of
ReverseStringRequest and
ReverseStringResponse respectively.
I guess the wsdl and xsd tells that they should be of
String type.
Please correct me if i am wrong.
Regards
Jolly