« October 2008 | Main | December 2008 »

November 2008 Archives

November 2, 2008

HTTP transport error: Message send failed: For input string “”

Another tough error message to decrypt.

I had a simple BPEL Process that invoked a remote SOAP/HTTP web service. I had BPEL PM  10.1.3.3 running on BEA WLS 9.2.

When I run the BPEL process from the console, the outbound invocation throws back a remote fault.

 

[2008/11/02 13:06:10] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.less
<remoteFault xmlns="
http://schemas.oracle.com/bpel/extension"
   <part name="summary">
      <summary>
       exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: For input string: ""

         </summary>
     </part>
</remoteFault>

The reason:

The JVM arguments –Dhttp.poxyHost and –Dhttp.proxyPort had empty values in the config.xml for the domain. i.e. –Dhttp.proxyHost= –Dhttp.proxyPort=

[In the admin console, you can view this in the “Startup” section in the “Server” section.

I removed these arguments from the startup section, and things just worked like a charm!

November 26, 2008

Setting encoding of an XML document

When you need to write an XML document into a queue/file, and if you wish to explicitly set the encoding on the xml document declaration, add the following onto the element of the XSD for the document that you are writing out.

< xsd:schema ....... xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" nxsd:encoding="UTF-8" ... >
...
< /xsd:schema >


The output document will then have the xml document declaration as

< ?xml version="1.0" encoding="UTF-8"? >
...

About November 2008

This page contains all entries posted to Ramkumar Menon's Blog in November 2008. They are listed from oldest to newest.

October 2008 is the previous archive.

December 2008 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle