• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bottom up Web Service Generating 2 XSD's and wrapping XML elements twice  RSS feed

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!