Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

java.io.IOException: Stream closed when using webservice

$
0
0

Hello,

 

I created sample webservice (just because my other one didn't work):

 

# cat test.cfc

<cfcomponent>

    <cffunction name="echoString" access="remote" returnType="string" output="false">

        <cfargument name="input" type="string">

        <cfreturn arguments.input>

    </cffunction>

</cfcomponent>

 

and now i'm trying to use that webservice by soapUI by sending:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >

   <soapenv:Header/>

   <soapenv:Body>

      <def:echoString soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

         <input xsi:type="xsd:string">333</input>

      </def:echoString>

   </soapenv:Body>

</soapenv:Envelope>

 

And no matter what i will use i always getting response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <soapenv:Body>

      <soapenv:Fault>

         <faultcode>soapenv:Server.userException</faultcode>

         <faultstring>java.io.IOException: Stream closed</faultstring>

         <detail>

            <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">amz-fe-w02</ns1:hostname>

         </detail>

      </soapenv:Fault>

   </soapenv:Body>

</soapenv:Envelope>

 

 

 

The file works on other hosts, THe host is

Red Hat Enterprise Linux Server release 6.4 (Santiago)

with coldfusion 10


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>