• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

org.apache.axis2.AxisFault: The system cannot infer the transport information from the URL

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have generated the stub classes using xmlbeans data binding as from adb we were getting below error

Caused by: org.apache.axis2.schema.SchemaCompilationException: XSD complexType with mix content not supported in ADB
       at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1166)
       at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1092)
       at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:1002)
       at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:752)
       at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:565)
       at org.apache.axis2.schema.SchemaCompiler.processElements(SchemaCompiler.java:2474)

After generated the stub classes using xmlbeans data binding and invoking the service we are getting below error

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)

We have tried invoking web service through soap ui tool with request xml generated from  xmlbeans data binding and we are getting proper response.

we are using axis2 1.7.0 version. Please suggest what could be the possible reason.

 
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!