Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to interface with .NET-based service

 
Rob Dennett
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic