Hi
1. SoapClient has a setOperationName that will set the SOAPAction header.
2. JiBX/WS does not support setting arbitrary content-types. The
SOAP 1.1 spec (http://www.w3.org/TR/2000/NOTE-SOAP-20000508/)
states "HTTP applications MUST use the media type "text/xml"
according to RFC 2376 [3]
<http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#RFC2376> when
including SOAP entity bodies in HTTP messages.". I'd suggest you
try the web service with "text/xml", and let me know if it's a
problem. It looks like a code change would be required to support
other content-types.
cheers
Nigel
Steel City Phantom wrote:
my bad, its SOAPAction not soapmethod
On Tue, Sep 21, 2010 at 11:22 AM, Steel City Phantom
<scpha...@gmail.com <mailto:scpha...@gmail.com>> wrote:
im using jibx ws to send to a web service. everything seems to be
right but the server keeps rejecting the request saying invalid
soapmethod header. i pointed the request at a php script that
dumps the headers in the request to a text file and found that the
soapmethod header is blank. im assuming thats why the server is
rejecting it. so i have two questions:
1 - how exactly to i set that header to a method name, i looked at
the examples and i don't think those are doing what i need.
2 - how do i change the Content header from "text/xml" to
"application/xml" because thats also a requirement.
--
You want it fast, cheap, or right. Pick two!!
--
You want it fast, cheap, or right. Pick two!!
------------------------------------------------------------------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
------------------------------------------------------------------------
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users