This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Unable to fully map ['http://url']:xxxInput using javax.xml.soap.SOAPElement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Unable to fully map [ Watch "Unable to fully map [ New topic
Author

Unable to fully map ['http://url']:xxxInput using javax.xml.soap.SOAPElement

jagan raja
Ranch Hand

Joined: Jan 29, 2010
Posts: 54
Hi All,

I am trying to create client jar using the following snippet,



My wsdl refers to the below xsd,



When I try generating the jar I get the warnings as,

[clientgen] WARNING: Unable to fully map ['http://url']:zzzInput using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['http://url']:xxxInput using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['http://url']:yyyInput using javax.xml.soap.SOAPElement
[clientgen] WARNING: Unable to fully map ['http://url']:request using javax.xml.soap.SOAPElement

In my jar the classes gets generated with javax.xml.soap.SOAPElement as the argument and I dont find the classes based on xxxInput,yyyInput and zzzInput.

Is there any way to specify or do a mapping to get the desired classes.

On the other hand everything works fine with the below task,


But for reasons we are supposed to use the clientgen task as given in the snippet.

Could any one please help me out in this.
jagan raja
Ranch Hand

Joined: Jan 29, 2010
Posts: 54
Hi All,

After some debugging I found out that the usage of <xs:choice/> in one of my referred xsd (crm:zzzInput) was creating the problem.

But still havent found a workaround.
 
 
subject: Unable to fully map ['http://url']:xxxInput using javax.xml.soap.SOAPElement
 
Similar Threads
Webshere Integration Developer issues
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
Doubt on XML Schema validity
Error while generating jar file
Help with TypeMapping