On Mon, Dec 02, 2002 at 03:51:58PM -0500, Scott Nichol wrote:

   First off, I would like to thank you for your reply.

   Here is what I have done. Declared globally to my Object I have:

private SOAPMappingRegistry smr = new SOAPMappingRegistry();
private BeanSerializer beanSer = new BeanSerializer();

    Then when I make the call I do:

    protected Parameter doCall(String method, Vector vectParam)
        {

                smr.mapTypes(
                        Constants.NS_URI_SOAP_ENC,
                        new QName("http://www.journyx.com/jxapi";, "UserRecord"),
                        UserRecord.class,
                        beanSer,
                        beanSer);
                
                Call call = new Call();
                call.setMethodName(method);
                call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
            call.setSOAPMappingRegistry(smr);

                //Set them in the call
                if (vectParam.size() > 0)
                        call.setParams(vectParam);

                try
                        {
                        // Invoke the call
                        Response response;
                        response = call.invoke(sessionURL, "");

                        //Check the return code
                        if (!response.generatedFault())
                                {
                                //Get the return values of the method called
                                Parameter returnValue = response.getReturnValue();
                                return returnValue;

             ...


     My UserRecord.java is exactly as you wrote. I am trying to call
getDefaultUser() in the Journyx API. 

     After call.invoke(..) is called the following error is returned:

     [SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer
found to deserialize a ':Result' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.IllegalArgumentException: No Deserializer
found to deserialize a ':Result' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.]


     Thank You

     Justin Knotzke.
        



-- 
Justin F. Knotzke
[EMAIL PROTECTED]
http://www.shampoo.ca

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

Reply via email to