Because i do not really understand how this post request is working in
servicemix. I have to send the follow request to the php application:
encString.append("auth_key=").append(URLEncoder.encode("key", "UTF-8"));
encString.append("&id=").append(URLEncoder.encode("2", "UTF-8"));
encString.append("&version=").append(URLEncoder.encode("1", "UTF-8"));
encString.append("&loginuseremail=").append(URLEncoder.encode("email",
"UTF-8"));
encString.append("&xmlvalue=").append(URLEncoder.encode([komplex
order].toString(), "UTF-8"));
this works fine if i use the JAVA URL class, but we don't want to call
mptservice over the URL class in java directly. We want this to be done by
servicemix, but the understanding how servicemix, especially this
NormalizedMessage class, works isn't so clear. Is it even possible to send
this mentioned request
over the HTTP-Bindingcomponent? What is message.setProperty stands for, can
i use them to map my http variable or should i stay by the
JbiConstants.PROTOCOL_HEADERS? Question over Question?
Crimor
Freeman Fang wrote:
>
> Hi,
>
> I am a little confused about the debug log in http component, seems you
> put
> the complex "order" xml fragment both in the header and the content, why
> you
> put this big xml fragment in your message header?
>
> Freeman
>
>
>
>
--
View this message in context:
http://www.nabble.com/Error-by-creating-a-connetion-over-http-provider-service-to-external-php-Service-tp15132807s12049p15135757.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.