You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Felix Geller <fg...@gmail.com> on 2008/04/09 16:17:55 UTC

SoapFault: InputStream cannot be null

Hi again,

   I'm trying to deploy an application that I created based on the
tutorial, using the Axis2 libraries. I can access the servlet and get
a listing of the services that should be accessible, but when I'm
trying to access them through a proxy I get the error message that is
appended at the end of this mail (I also included the client trace
message that are output before the exception is raised). Any hints as
to where to look for the null value?

Cheers,
Felix


[CLIENT TRACE] SOAP envelope contents (outgoing):

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header>
        <wsa:To
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:50100/Axis2Producer/services/WsResource</wsa:To>
        <wsa:Action
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action>
        <wsa:MessageID
xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:41fd8244-9f68-4ce5-bdc1-9f0382e4444e</wsa:MessageID>
        <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
            <wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
        </wsa:From>
    </soap:Header>
    <soap:Body>
        <wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
            <wsnt:ConsumerReference>
                <wsa:Address
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost:50100/Axis2Consumer/services/WsConsumer</wsa:Address>
            </wsnt:ConsumerReference>
            <wsnt:Filter>
                <wsnt:TopicExpression

Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete"
xmlns:stg-news="http://www.example.org/stg/news">stg-news:News</wsnt:TopicExpression>
            </wsnt:Filter>
        </wsnt:Subscribe>
    </soap:Body>
</soap:Envelope>

org.apache.muse.ws.addressing.soap.SoapFault: InputStream cannot be null
        at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:298)
        at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254)
        at org.apache.muse.ws.notification.remote.NotificationProducerClient.subscribe(NotificationProducerClient.java:97)
        at org.apache.ws.muse.test.wsrf.Driver.main(Driver.java:38)

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-user-help@ws.apache.org