aspose file tools*
The moose likes Web Services and the fly likes Trying to interface with .NET-based service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Trying to interface with .NET-based service" Watch "Trying to interface with .NET-based service" New topic
Author

Trying to interface with .NET-based service

Rob Dennett
Ranch Hand

Joined: Dec 07, 2010
Posts: 81
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

Joined: Dec 07, 2010
Posts: 81
In other words, how do I inject the bean which contains the data into the bean representing the xsd:any tag?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to interface with .NET-based service