• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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 is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!