Hi:
Inside the *.asmx file, you may also need to add
[SoapRpcMethod] after [WebMethod].
I was able to use wsdl tool from .Net to generate the
*.CS client to talk to a Apache/Soap service.
I was also able to use IBM's WSIF-1.0 to generate Java
client (Apache/Soap) to work with a .Net service but
only in RPC binding not document/literal binding. You
will need to modify the *.wsdl file from .Net example.
I have not try GLUE (from the mind electric) yet, but
the wsdl2java works very effective to generate the
Java stub.
Just my two cents.
Sam
--- [EMAIL PROTECTED] wrote:
>
> Hi federico,
>
> i htink you have missunderstood the code i send to
> you.
>
> it was only a part of my webserverice.
>
> Your problem is: the webservice with .NET use
> literal by default.
> You have to set rpc if you want to use the
> webservice as java client.
> In order to get rpc, you have to put
> [System.Web.Services.Pro...] over the
> webmethod.
>
> e.g.
>
>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("yourURI_for_Method",
> RequestNamespace="yourURI_for_Method_Request",
> ResponseNamespace
> ="yourURI_for_Method_Response")]
> public string yourwebmethod(string blabla)
> ...
>
> it's only an example. Change the properties to your
> own individual demand
> (on the serverside and on the java - client)
>
> By the way : you dont need to compile your file if
> you want to use an asmx
> as webservice.
> Generated an asmx-file an consume it by a client
> (like java-client send to
> you).
>
> greets
> Hoang
>
>
>
>
>
>
>
>
>
>
>
>
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com