synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herwig David (JIRA)" <>
Subject [jira] Created: (SYNAPSE-675) 'InputStream cannot be NULL' when calling a web service via synapse proxy service
Date Thu, 12 Aug 2010 08:16:18 GMT
'InputStream cannot be NULL' when calling a web service via synapse proxy service

                 Key: SYNAPSE-675
             Project: Synapse
          Issue Type: Bug
          Components: Proxy Services
    Affects Versions: 1.2
         Environment: standalone synapse 1.2 ( installation on windows
xp SP2 and Tomcat 5.5 with axis2-1.5.1 
            Reporter: Herwig David


When calling one of my web services via synapse proxy service I get an AxisFault 'InputStream
cannot be NULL'.
When calling the web service directly on the tomcat I get the response without problems.
Both are https requests.

Searching the internet I have found two solutions to increase the timeout:

1st: setting the client options:
            ServiceClient client = stub._getServiceClient();

            // get option object 
            Options options = client.getOptions();
            // set username / password
            options.setProperty("user", TestClient.userAlias.toString());
	    options.setProperty("encryptionUser", TestClient.serverAlias);
            //setting created option into service      

2nd: Increasing the timeout in synapse.xml
    <sequence name="_ProxyOut">

    <!-- Delivery Service -->
    <sequence name="WS7X4Delivery_ProxyIn" trace="disable">
                <address uri=""/>


    <proxy name="WS7X4Delivery" transports="https">
        <publishWSDL key="WS7X4Delivery_ProxyWsdl"/> 
        <target inSequence="WS7X4Delivery_ProxyIn" outSequence="_ProxyOut"/>


Unfortunately this doesn't help.

I assume that the connection issue is on synapse side.
Is there another way to increase the timeout in synapse when using as proxy service?   

Thanks and regards,


Herwig David
kohlpharma GmbH
Im Holzhau 8, 66663 Merzig, Germany

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message