This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!