aspose file tools
The moose likes Web Services and the fly likes Asp.net Struct Consuming in Javain Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Asp.net Struct Consuming in Javain" Watch "Asp.net Struct Consuming in Javain" New topic
Author

Asp.net Struct Consuming in Javain

chikodi nwanjoku
Greenhorn

Joined: Nov 10, 2012
Posts: 2
Please I am having an issue, I have a web service written in asp.net c#, one of the web methods has a parameter is a struct, now when comsume in java I don't know how to handle the struct object
Eg
Asp.net
Public string test(StructName object)
{
return. "Hello " + object.name;
}

Java


Myclass myobjectclass= new myClass();
Myobjectclass.test(StructName);

On this point I don't know what to do in order to set the structName value.

Thanks
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 2912
You might get a better response if you post it in the Web Services forum. But basically when you generate java stubs for your WSDL, the structure will have a java equivalent and that is what you need to use on the java side.


Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4351

Moved to the web services forum


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Asp.net Struct Consuming in Javain
 
Similar Threads
Call to Oracle SP with Oracle object type parameter
Confusion about class creation inside a class.
Struggling to run a script at regular intervals - any ideas?
Defining characteristics of the DispatchAction class
oracle.sql.STRUCT and db user rights