[jboss-user] [JBossWS] - javax.xml.ws.soap.SOAPFaultException: Invalid program name

pramod_bs do-not-reply at jboss.com
Wed Apr 2 16:07:02 EDT 2008


  | 
  | I am getting this exception when I try to access a web service which is running  in a non JBoss server ( actually the service is running in unisys mainframe)
  | stack trace
  | javax.xml.ws.soap.SOAPFaultException: Invalid program name
  | 	at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:69)
  | 	at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
  | 	at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:553)
  | 	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:371)
  | 	at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
  | 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
  | 	at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
  | 	at $Proxy17.newProp(Unknown Source)
  | 	at gov.gsa.fss.gsab0.program.propertyload.TestSwa.doTest(TestSwa.java:58)
  | 	at gov.gsa.fss.gsab0.program.propertyload.TestSwa.main(TestSwa.java:26)
  | 
  | 
  | 
  | here is the wsdl
  | 
  | "
  | 
  | <?xml version="1.0" encoding="UTF-8" ?>
  | <definitions name="HostWebServices" targetNamespace="http://gsab0.server.gov/Program/PROPERTYLOAD" xmlns:tns="http://gsab0.server.gov/Program/PROPERTYLOAD" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  |   <types>
  |     <schema elementFormDefault="qualified" targetNamespace="http://gsab0.server.gov/Program/PROPERTYLOAD" xmlns:tns="http://gsab0.server.gov/Program/PROPERTYLOAD" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
  |       <element name="NewPropRequestHeader">
  |         <complexType>
  |           <sequence>
  |             <element name="AccessTicket" type="tns:String100" />
  |           </sequence>
  |         </complexType>
  |       </element>
  |       <element name="NewPropRequest">
  |         <complexType>
  |           <sequence>
  |             <element name="ITEM_INFO" type="tns:ITEM_INFO" />
  |             <element name="ITEM_DESC" type="tns:String200" />
  |             <element name="IMG_STREAM" type="tns:McpStream" />
  |             <element name="IMG_BASE64STREAM" type="tns:McpBase64Stream" />
  |           </sequence>
  |         </complexType>
  |       </element>
  |       <element name="NewPropResponse">
  |         <complexType>
  |           <sequence>
  |             <element name="mcpElapsed" type="tns:Integer6" />
  |             <element name="SC-RESPONSE" type="tns:String200" />
  |           </sequence>
  |         </complexType>
  |       </element>
  |       <simpleType name="Integer6">
  |         <restriction base="xsd:integer">
  |           <totalDigits value="6" />
  |         </restriction>
  |       </simpleType>
  |       <simpleType name="String200">
  |         <restriction base="xsd:string">
  |           <maxLength value="200" />
  |         </restriction>
  |       </simpleType>
  |       <simpleType name="String100">
  |         <restriction base="xsd:string">
  |           <maxLength value="100" />
  |         </restriction>
  |       </simpleType>
  |       <simpleType name="String30">
  |         <restriction base="xsd:string">
  |           <maxLength value="30" />
  |         </restriction>
  |       </simpleType>
  |       <simpleType name="String3">
  |         <restriction base="xsd:string">
  |           <maxLength value="3" />
  |         </restriction>
  |       </simpleType>
  |       <simpleType name="String4">
  |         <restriction base="xsd:string">
  |           <maxLength value="4" />
  |         </restriction>
  |       </simpleType>
  |       <complexType name="ITEM_INFO">
  |         <sequence>
  |           <element name="ITEM_ID" type="tns:String30" />
  |           <element name="COE_ID" type="tns:String3" />
  |           <element name="FSC" type="tns:String4" />
  |           <element name="AGY_BUR" type="tns:String4" />
  |         </sequence>
  |       </complexType>
  |       <complexType name="McpStream">
  |         <simpleContent>
  |           <extension base="tns:String100">
  |             <attribute name="mcpType" type="xsd:string" fixed="stream" use="required" />
  |           </extension>
  |         </simpleContent>
  |       </complexType>
  |       <complexType name="McpBase64Stream">
  |         <simpleContent>
  |           <extension base="tns:String100">
  |             <attribute name="mcpType" type="xsd:string" fixed="base64Stream" use="required" />
  |           </extension>
  |         </simpleContent>
  |       </complexType>
  |     </schema>
  |   </types>
  |   <message name="NewPropRequestHeader">
  |     <part name="params" element="tns:NewPropRequestHeader" />
  |   </message>
  |   <message name="NewPropRequest">
  |     <part name="params" element="tns:NewPropRequest" />
  |   </message>
  |   <message name="NewPropResponse">
  |     <part name="params" element="tns:NewPropResponse" />
  |   </message>
  |   <portType name="ProgramPROPERTYLOADPort">
  |     <operation name="NewProp">
  |       <input message="tns:NewPropRequest" />
  |       <output message="tns:NewPropResponse" />
  |     </operation>
  |   </portType>
  |   <binding name="ProgramPROPERTYLOADBinding" type="tns:ProgramPROPERTYLOADPort">
  |     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
  |     <operation name="NewProp">
  |       <soap:operation soapAction="HostWebServices" />
  |       <input>
  |         <soap:body use="literal" />
  |         <soap:header message="tns:NewPropRequestHeader" part="params" use="literal" />
  |       </input>
  |       <output>
  |         <soap:body use="literal" />
  |       </output>
  |     </operation>
  |   </binding>
  |   <service name="ProgramPROPERTYLOADService">
  |     <documentation>Access Program PROPERTYLOAD via MGSWeb</documentation>
  |     <port name="ProgramPROPERTYLOADPort" binding="tns:ProgramPROPERTYLOADBinding">
  |       <soap:address location="http://gsab0.server.gov/HostWebServices/?ProgramPROPERTYLOAD" />
  |     </port>
  |   </service>
  | </definitions>
  | "

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141086#4141086

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141086



More information about the jboss-user mailing list