• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic