• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jagan raja
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic