It has something to do with SOAPVersion 
ftp://www6.software.ibm.com/software/developer/library/ws-reliablemessaging200403.pdf
the good news is that if you're still using Axis 1.x you can override the 
SingleSOAPVersion attribute with the correct version(SOAP 1.1 version that wont 
produce these Fault Container errors)

the not so good news is that it seems that functionality got tossed when moving 
to 2.x
here is an excerpt from org.apache.axis2.description.AxisService
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

  ----- Original Message ----- 
  From: Ashish Kulkarni 
  To: [email protected] 
  Sent: Wednesday, May 02, 2007 3:40 PM
  Subject: axis 2 error, associated Fault container is not available


  Hi
  I have a WSDL file, and i created all the java classes using WSDL2Java, and 
was writing a client program as below,
  MapsLimsTransactionsLocator locator = new MapsLimsTransactionsLocator();
  MapsLimsTransactionsBindingStub stub = new 
MapsLimsTransactionsBindingStub(new URL( 
locator.getMapsLimsTransactionsPortAddress()), (Service)locator.getCall());
  LimsResponse response = stub.syncPurchaseItemIn(request);

  But i am getting the following error, any ideas what may be missing

  URL http://MPPGMS11:30901/MapsLimsTransactions/MapsLimsTransactionsPort
  AxisFault
   faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server
   faultSubcode: 
   faultString: Internal server runtime exception
   faultActor: 
   faultNode: 
   faultDetail: 
      { 
http://seebeyond/com/xsddefined/FaultMessages}SOAPFaultMessage:<ans1:Fault><faultcode
 xmlns="">SERVER_ERROR</faultcode><faultstring xmlns="">root 
cause:com.stc.otd.runtime.UnmarshalException : error: Expected element [EMAIL 
PROTECTED]://www.pfizer.com/maplims/ at the end of the content in element 
[EMAIL PROTECTED]://www.pfizer.com/maplims/ error: Expected element [EMAIL 
PROTECTED]://www.pfizer.com/maplims/ at the end of the content in element 
[EMAIL PROTECTED]://www.pfizer.com/maplims/   and the associated Fault 
container is not available</faultstring><faultactor 
xmlns="">wsserver</faultactor><detail xmlns="">root 
cause:com.stc.otd.runtime.UnmarshalException : error: Expected element [EMAIL 
PROTECTED]://www.pfizer.com/maplims/ at the end of the content in element 
[EMAIL PROTECTED]://www.pfizer.com/maplims/ error: Expected element [EMAIL 
PROTECTED]://www.pfizer.com/maplims/ at the end of the content in element 
[EMAIL PROTECTED]://www.pfizer.com/maplims/   and the associated Fault 
container is not available</detail></ans1:Fault>

  Internal server runtime exception
      at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) 
      at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
      at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)


  Ashish
      

Reply via email to