We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,628 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

org.apache.axis2.AxisFault: The input stream for an incoming message is nul

Hi everyone,
I am new to java webservices, i am developing a web service client using apache axis2 and eclipse. I used wsdl2java to generate the client code. Now when i invoke the service i get this error: org.apache.axis2.AxisFault: The input stream for an incoming message is null. What code be the issue? Here is the full error

org.apache.axis2.AxisFault: The input stream for an incoming message is null.
    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
    at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    at org.csapi.www.wsdl.parlayx.sms.notification_manager.v2_3.service.SmsNotificationManagerServiceStub.startSmsNotification(SmsNotificationManagerServiceStub.java:505)
    at com.dataimpact.client.StartNotifications.startNotification(StartNotifications.java:159)
    at com.dataimpact.client.StartNotifications.main(StartNotifications.java:80)

Ill appriciate any help
Thank you

1
Contributor
1
Reply
3 Weeks
Discussion Span
2 Months Ago
Last Updated
6
Views
mlugaliki
Newbie Poster
2 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I managed to solve the error by adding the settings below in my options object options.setProperty(Constants.Configuration.MESSAGE_TYPE,HTTPConstants.MEDIA_TYPE_APPLICATION_ECHO_XML);options.setProperty(Constants.Configuration.DISABLE_SOAP_ACTION,Boolean.TRUE);

mlugaliki
Newbie Poster
2 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0793 seconds using 2.72MB