Hi,

i'm working with Axis2 (1.4) and created a client. The server side has
been created via WSDL using wsdl2java...

I have tested the client against the server, but within the request I
have found an entry which I can't understand, which produces an
exception....

<soapenv:Body>
   <methodName ..>
     <arg0 xmlns="">  <!-- This is what I do not understand... -->
       <...Here are parameter which i expect to have...>
     </arg0>
   </methodName ..>
</soapenv:Body>

I'm calling the Server via the following code:

       RPCServiceClient serviceClient = new RPCServiceClient();

        Options options = serviceClient.getOptions();

        EndpointReference targetEPR = new EndpointReference(
                Constants.BASE_URL + "/xyzService");

        options.setTo(targetEPR);

        QName opxyz =
            new QName("URL/", "methodName");

        ......
        Object[] opArgs = new Object[] { as };

        serviceClient.invokeRobust(opxyz, opArgs);

Does someone have a hint for this behaviour?

Many thanks in advance...


Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to