Skip to main content

Consuming and Uploading .Net Dataset in Java

1 reply [Last post]
prakash_gautam
Offline
Joined: 2008-02-27
Points: 0

I am working on a Java project which consumes .Net web service. I know Dataset creates Interoperability problem but I have no control over the .Net web service.

The SOAP response I get contains the Dataset content in the tag so I get the data using response.get_any()[1]' and using apache.axis and DOM parser am able to parse the data, no problem here.

The problem is that .Net web service also takes Dataset in one of the method and I am unable to pass the Dataset. The apache.axis generated UploadChangesDs.java for the .Net Dataset which has a constructor as:

public UploadChangesDs(
org.apache.axis.message.MessageElement [] _any) {
this._any = _any;
}

Can anyone PLEASE suggest how can I fill the 'UploadChangesDs' and call the .Net web service method which takes a Dataset.

I am desperate and I will be really grateful for suggestions.

Thanks,
Prakash

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aamayorga
Offline
Joined: 2008-03-13
Points: 0

I have the exact same problem. I'd appreciate it if anybody has advice about this could post it to this forum.

-Antonio