• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Asp.net Struct Consuming in Javain

 
chikodi nwanjoku
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3765
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Roel De Nijs
Sheriff
Posts: 10449
137
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the web services forum
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic