That's inconsistent with the way HTTP POST works. POST sends a resource representation as content within the HTTP envelope.
Anne On 10/11/07, Takanori Suzuki <[EMAIL PROTECTED]> wrote: > Sorry. > > I want to send application/x-www-form-urlencoded using HTTP POST. > > Can I use application/x-www-form-urlencoded, > when the service argument is POJO. > > ---- > Thanks, > Takanori. > > 2007/10/11, keith chapman <[EMAIL PROTECTED]>: > > I didnt get your question clearly. If you want to send application/xml using > > an HTML client I think you will have to create the XML payload. Is that what > > you asked? > > > > Thanks, > > Keith. > > > > > > On 10/10/07, Takanori Suzuki <[EMAIL PROTECTED]> wrote: > > > > > > Thanks, Keith. > > > > > > > As you can see addEntry element contains another complex type within it. > > > > Hence the parameters at the serverside cannot produce the required SOAP > > > > message that Axis2 needs. This will work perfectly with application/xml > > on a > > > > post though. Can you try to codegenerate a stub using the -pn > > > > AddressBookServiceSOAP11port_http option. That should > > work > > > > out of the box and you dont have to worry about creating the contents > > using > > > > OMElements. > > > > > > Using application/xml, the service recieved addEntry object. > > > Thanks for your help. > > > > > > But, > > > I would like to use both plain HTML and Java (include Axis2) as client. > > > > > > When I use the plain HTML as client, > > > the format of POST parameters is "param1=xxx¶m2=xxx". > > > > > > Do I have to create the request by XML format ? > > > > > > ---- > > > Thanks, > > > Takanori. > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > Keith Chapman > > WSO2 Inc. > > Oxygen for Web Services Developers. > > http://wso2.org/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
