You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Chris Richmond <cr...@referentia.com> on 2008/04/25 20:54:32 UTC

REST complex types

Keith,

 

Here is the wsdl for my service calls.

 

Particularly, the UpdateUser call which takes a PSUser complex type.  I
guess in general being able to perform HTTP post against this service is
causing me problems, I still haven't gotten a simple HTTP post to work
either even without complex type.  I have gottend GET using URL params to
work, but not for the complex types.

 

Thanks,

 

Chris

 

 


Re: REST complex types

Posted by keith chapman <ke...@gmail.com>.
I didnt try this out but looking at your WSDL the request URL should be

serviceName/updateUser?sessionID=abc

But If your using REST correctly this should be using a PUT method instead.
The payload for the put method could be

sessionID=abc if your using x-form-url-encoded contentType or

<p:updateUser xmlns:p="http://services.ws.mleadr.referentia.com
"><sessionID>abc</sessionID></updateUser>

Note that I'm giving this answer just by looking at the WSDL, I didnt try
this out. Hope this helps

Thanks,
Keith.

On Sat, Apr 26, 2008 at 12:24 AM, Chris Richmond <cr...@referentia.com>
wrote:

>  Keith,
>
>
>
> Here is the wsdl for my service calls.
>
>
>
> Particularly, the UpdateUser call which takes a PSUser complex type.  I
> guess in general being able to perform HTTP post against this service is
> causing me problems, I still haven't gotten a simple HTTP post to work
> either even without complex type.  I have gottend GET using URL params to
> work, but not for the complex types.
>
>
>
> Thanks,
>
>
>
> Chris
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>



-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org