This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AxisFault Exception after upgrading from axis2 1.5.1 to 1.7.0  RSS feed

 
Sunita Diva
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have upgraded axis2 jars from 1.5.1 to 1.7.0
When using axis2 1.5.1 version, stub classes were generated using adb data binding method but the same was not supported in Axis2 1.7.0

So stub classes were generated using xmlbeans databinding method with Axis2 1.7.0. While invoking the service from Java code, below exception is thrown:
org.apache.axis2.AxisFault: The system cannot infer the transport information from the  URL.
                at org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:81)
                at org.apache.axis2.client.OperationClient.prepareMessageContext(OperationClient.java:289)
                at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:176)
                at org.apache.axis2.client.OperationClient.execute(OperationClient.java:150)

Request xml that was generated from the java code when used in SopaUI tool gives the expected response. Please suggest what could be causing above exception.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!