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