• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Trying to interface with .NET-based service

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to interface with a .NET based web service and the wsdl specifies an input to one of its services like this:



The asmx file specifies the input to this service like this

BasicMemberAccountCreation
Basic Member Account Creation.
Inputs: Xml Document
Input XSD: https://<redacted>/services/api/v1.1/xsd/BasicMemberAccountCreation.xsd
Returns <redacted>.BasicMemberAccountCreationResponse

When I run wsimport on the wsdl, the BasicMemberAccountCreation class it creates only has one property: protected BasicMemberAccountCreation.XmlDoc xmlDoc;

and the nested class XmlDoc only has the property protected List<Object> content;

When I run xjc against the xsd file, I get a bean which has the properties necessary for a BasicMemberAccountCreation. I don't know how to reconcile these two things.

Can anyone help?

Thanks,
Rob
 
Rob Dennett
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In other words, how do I inject the bean which contains the data into the bean representing the xsd:any tag?
 
reply
    Bookmark Topic Watch Topic
  • New Topic