[Logo]
Forums Register Login
Bottom up Web Service Generating 2 XSD's and wrapping XML elements twice
HI All,

I was trying to follow a tutorial that was put together by Koushik (Java Brains) and have an issue in my code and need assistance.

For some reason in the WSDL portType section I see the "Request" text being dropped off the end of this parameter value message="tns:createAssignment"/>

Also in the WSDL types section it's importing two different XSD's.  The first XSD looks like the onei want, the second one i don't want.

Also notice in the SOAP UI request/response, it's adding another wrapper in the request called <con:createAssignment> and in the response one called <return>.

I have had no luck in figuring out how to fix this, any help or code adjustments would be great!.

thanks

Sourcing.java



CreateAssignmentRequest.java


CreateAssignmentResponse.java



Glassfish WSDL that is being created



SOAP UI example
I want my playground back. Here, I'll give you this tiny ad for it:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS


This thread has been viewed 71 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 24, 2018 11:22:49.