Reading .Net Web service user defined struct from a Java client

  • Thread starter Ghislain Tanguay
  • Start date
G

Ghislain Tanguay

Do you know if there'sa problem from Java side to recreate a struct from
the .Net framwork

public Class MyClass

Public struct Person
public firstName as string
public LastName as string
End struct

WebMethod
public function CallMe(byval objPerson as Person) as boolean
.....
end function

Now,you Java programmer, can you easily read from your side (consumming my
Web service)
my method and my struct like a .net client

Calling the proxy and using it
objProxy = new MyClass

Dim objPerson as objProxy.Person
objPerson.FirstName="John"
.........
CallMe(objPerson )

So, is it easy for Java to recreate my struct?

Tks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top