4 Replies Latest reply on May 10, 2006 6:59 AM by Thomas Diesler

    JBossWS 1.0 vs. Axis 1.3

    Juergen Zimmermann Master

      I'm using Excel 2003 with Microsoft's WebServices Toolkit 2.01 as a WS client. Just using Tomcat with Axis 1.3 and RPC/Encoded there is no problem.

      Using JBoss 4.0.4CR2 with EJB3, JBossWS 1.0.0GA, and RPC/Encoded the Excel client fails because JBoss throws an exception.

      I'll append a) the log snippet of JBoss, and b) the WSDL generated by Axis.

      Log snippet of JBoss including the generated WSDL and the SOAP message submitted by Excel:

      2006-05-06 08:34:22,723 DEBUG [org.jboss.ws.server.ServiceEndpointManager] Creating jboss.ws:service=ServiceEndpointManager
      2006-05-06 08:34:22,723 DEBUG [org.jboss.ws.server.ServiceEndpointManager] Created jboss.ws:service=ServiceEndpointManager
      2006-05-06 08:34:22,733 DEBUG [org.jboss.ws.server.ServiceEndpointManager] Starting jboss.ws:service=ServiceEndpointManager
      2006-05-06 08:34:22,743 DEBUG [org.jboss.ws.server.ServiceEndpointManager] Started jboss.ws:service=ServiceEndpointManager
      2006-05-06 08:34:22,803 INFO [org.jboss.web.WebService] Using RMI server codebase: http://fbwi-co0183:8083/
      2006-05-06 08:34:26,178 DEBUG [org.jboss.ws.server.WebServiceClientDeployer] Creating jboss.ws:service=WebServiceClientDeployer
      2006-05-06 08:34:26,178 DEBUG [org.jboss.ws.server.WebServiceClientDeployer] Created jboss.ws:service=WebServiceClientDeployer
      2006-05-06 08:34:26,178 DEBUG [org.jboss.ws.eventing.mgmt.SubscriptionManager] Creating jboss.ws.eventing:service=SubscriptionManager
      2006-05-06 08:34:26,178 DEBUG [org.jboss.ws.eventing.mgmt.SubscriptionManager] Created jboss.ws.eventing:service=SubscriptionManager
      2006-05-06 08:34:26,198 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] Creating jboss.ws:service=WebServiceDeployerEJB3
      2006-05-06 08:34:26,208 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] Attaching interceptor: XMBeanInterceptor('jboss.ws:service=WebServiceDeployerEJB3')
      2006-05-06 08:34:26,208 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] Interceptor attached to: 'jboss.ejb3:service=EJB3Deployer'
      2006-05-06 08:34:26,208 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] Created jboss.ws:service=WebServiceDeployerEJB3
      2006-05-06 08:34:26,208 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB21] Creating jboss.ws:service=WebServiceDeployerEJB21
      2006-05-06 08:34:26,208 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB21] Attaching interceptor: XMBeanInterceptor('jboss.ws:service=WebServiceDeployerEJB21')
      2006-05-06 08:34:26,218 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB21] Interceptor attached to: 'jboss.ejb:service=EJBDeployer'
      2006-05-06 08:34:26,218 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB21] Created jboss.ws:service=WebServiceDeployerEJB21
      2006-05-06 08:34:26,678 DEBUG [org.jboss.ws.server.WebServiceClientDeployer] Starting jboss.ws:service=WebServiceClientDeployer
      2006-05-06 08:34:26,678 DEBUG [org.jboss.ws.server.WebServiceClientDeployer] Started jboss.ws:service=WebServiceClientDeployer
      2006-05-06 08:34:26,678 DEBUG [org.jboss.ws.eventing.mgmt.SubscriptionManager] Starting jboss.ws.eventing:service=SubscriptionManager
      2006-05-06 08:34:26,708 INFO [org.jboss.ws.eventing.mgmt.SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
      2006-05-06 08:34:26,708 DEBUG [org.jboss.ws.eventing.mgmt.SubscriptionManager] Started jboss.ws.eventing:service=SubscriptionManager
      2006-05-06 08:34:26,799 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] Starting jboss.ws:service=WebServiceDeployerEJB3
      2006-05-06 08:34:26,809 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] Started jboss.ws:service=WebServiceDeployerEJB3
      2006-05-06 08:34:26,809 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB21] Starting jboss.ws:service=WebServiceDeployerEJB21
      2006-05-06 08:34:26,809 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB21] Started jboss.ws:service=WebServiceDeployerEJB21
      2006-05-06 08:34:27,029 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] Creating jboss.ws:service=WebServiceDeployerJSE
      2006-05-06 08:34:27,029 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] Attaching interceptor: XMBeanInterceptor('jboss.ws:service=WebServiceDeployerJSE')
      2006-05-06 08:34:27,029 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] Interceptor attached to: 'jboss.web:service=WebServer'
      2006-05-06 08:34:27,029 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] Created jboss.ws:service=WebServiceDeployerJSE
      2006-05-06 08:34:27,029 DEBUG [org.jboss.ws.server.WebServiceDeployerNestedJSE] Creating jboss.ws:service=WebServiceDeployerNestedJSE
      2006-05-06 08:34:27,039 DEBUG [org.jboss.ws.server.WebServiceDeployerNestedJSE] Created jboss.ws:service=WebServiceDeployerNestedJSE
      ...
      2006-05-06 08:34:28,401 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] create: file:/C:/Programme/jboss/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
      2006-05-06 08:34:28,431 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] start: file:/C:/Programme/jboss/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
      2006-05-06 08:34:29,643 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] create: file:/C:/Programme/jboss/server/default/tmp/deploy/tmp26678jbossws.sar-contents/jbossws.war
      2006-05-06 08:34:29,643 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] start: file:/C:/Programme/jboss/server/default/tmp/deploy/tmp26678jbossws.sar-contents/jbossws.war
      2006-05-06 08:34:30,224 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] Starting jboss.ws:service=WebServiceDeployerJSE
      2006-05-06 08:34:30,224 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] Started jboss.ws:service=WebServiceDeployerJSE
      2006-05-06 08:34:30,224 DEBUG [org.jboss.ws.server.WebServiceDeployerNestedJSE] Starting jboss.ws:service=WebServiceDeployerNestedJSE
      2006-05-06 08:34:30,224 DEBUG [org.jboss.ws.server.WebServiceDeployerNestedJSE] Started jboss.ws:service=WebServiceDeployerNestedJSE
      ...
      2006-05-06 08:34:32,667 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] create: file:/C:/Programme/jboss/server/default/deploy/jmx-console.war/
      2006-05-06 08:34:32,677 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] start: file:/C:/Programme/jboss/server/default/deploy/jmx-console.war/
      ...
      2006-05-06 08:34:34,109 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] create: file:/C:/Programme/jboss/server/default/tmp/deploy/tmp26701hska.ear-contents/hskaEJB.jar
      2006-05-06 08:34:34,850 DEBUG [org.jboss.ws.metadata.AnnotationsMetaDataBuilderEJB3] START buildMetaData: [canonicalName=hska.ear/hskaEJB.jar]
      2006-05-06 08:34:35,030 DEBUG [org.jboss.ws.tools.JavaToWSDL] generate [endpoint=de.hska.ws.KundenverwaltungWS,tnsURI=null,service=null,portType=null]
      2006-05-06 08:34:35,030 DEBUG [org.jboss.ws.tools.JavaToWSDL11] Creating JavaToWSDL11 instance
      2006-05-06 08:34:35,070 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] new WSDLInterface
      2006-05-06 08:34:35,070 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setName: KundenverwaltungWS
      2006-05-06 08:34:35,070 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] new WSDLBinding
      2006-05-06 08:34:35,070 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setName: KundenverwaltungWSBinding
      2006-05-06 08:34:35,070 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setInterfaceName: KundenverwaltungWSBinding
      2006-05-06 08:34:35,111 DEBUG [org.jboss.ws.tools.JavaToWSDL] <?xml version="1.0" encoding="UTF-8"?>
      <definitions name='KundenverwaltungWSService' targetNamespace='http://ws.hska.de/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://ws.hska.de/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
       <types/>
       <message name='KundenverwaltungWS_findNachname'>
       <part name='long_1' type='xsd:long'/>
       </message>
       <message name='KundenverwaltungWS_findNachnameResponse'>
       <part name='result' type='xsd:string'/>
       </message>
       <portType name='KundenverwaltungWS'>
       <operation name='findNachname' parameterOrder='long_1'>
       <input message='tns:KundenverwaltungWS_findNachname'/>
       <output message='tns:KundenverwaltungWS_findNachnameResponse'/>
       </operation>
       </portType>
       <binding name='KundenverwaltungWSBinding' type='tns:KundenverwaltungWS'>
       <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
       <operation name='findNachname'>
       <soap:operation soapAction=''/>
       <input>
       <soap:body namespace='http://ws.hska.de/jaws' use='literal'/>
       </input>
       <output>
       <soap:body namespace='http://ws.hska.de/jaws' use='literal'/>
       </output>
       </operation>
       </binding>
       <service name='KundenverwaltungWSService'>
       <port binding='tns:KundenverwaltungWSBinding' name='KundenverwaltungWSPort'>
       <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
       </port>
       </service>
      </definitions>
      2006-05-06 08:34:35,121 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory] parse: file:/C:/Programme/jboss/server/default/tmp/jbossws/KundenverwaltungWSService26702.wsdl
      2006-05-06 08:34:35,231 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] new WSDLInterface
      2006-05-06 08:34:35,231 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setName: KundenverwaltungWS
      2006-05-06 08:34:35,231 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setQName: {http://ws.hska.de/jaws}KundenverwaltungWS
      2006-05-06 08:34:35,231 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] new WSDLBinding
      2006-05-06 08:34:35,231 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setQName: {http://ws.hska.de/jaws}KundenverwaltungWSBinding
      2006-05-06 08:34:35,231 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setName: KundenverwaltungWSBinding
      2006-05-06 08:34:35,231 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setInterfaceName: KundenverwaltungWSBinding
      2006-05-06 08:34:35,241 DEBUG [org.jboss.ws.metadata.AbstractMetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://fbwi-co0183:8080/hskaEJB/KundenverwaltungWSBean'
      2006-05-06 08:34:35,241 DEBUG [org.jboss.ws.metadata.ServerEndpointMetaData] getEndpointConfig: [name=Standard Endpoint,url=META-INF/standard-jbossws-endpoint-config.xml]
      2006-05-06 08:34:35,291 DEBUG [org.jboss.ws.metadata.config.WSConfigFactory] parse: jar:file:/C:/Programme/jboss/server/default/tmp/deploy/tmp26678jbossws.sar!/META-INF/standard-jbossws-endpoint-config.xml
      2006-05-06 08:34:35,301 DEBUG [org.jboss.ws.metadata.AnnotationsMetaDataBuilderEJB3] END buildMetaData:
      UnifiedMetaData:
       securityDomain: null
      
      
      ServiceMetaData:
       name={http://ws.hska.de/jaws}KundenverwaltungWSService
       wsdName=null
       wsdlFile=file:/C:/Programme/jboss/server/default/tmp/jbossws/KundenverwaltungWSService26702.wsdl
       jaxrpcFile=KundenverwaltungWSService-annotation-generated
       publishLocation=null
       properties=null
      
      TypesMetaData:
       [complexType={http://www.w3.org/2001/XMLSchema}long,javaType=long]
       [complexType={http://www.w3.org/2001/XMLSchema}string,javaType=java.lang.String]
      
      
      ServerEndpointMetaData:
       name={http://ws.hska.de/jaws}KundenverwaltungWSPort
       id=jboss.ws:di=hska.ear/hskaEJB.jar,port=KundenverwaltungWSPort,service=KundenverwaltungWSService
       address=http://fbwi-co0183:8080/hskaEJB/KundenverwaltungWSBean
       linkName=KundenverwaltungWSBean
       implName=de.hska.ws.KundenverwaltungWSBean
       seiName=de.hska.ws.KundenverwaltungWS
       annotated=true
       portComponentName=null
       contextRoot=/hskaEJB
       urlPattern=/KundenverwaltungWSBean
       configFile=META-INF/standard-jbossws-endpoint-config.xml
       configName=Standard Endpoint
       authMethod=null
       transportGuarantee=null
       properties=null
      
      OperationMetaData:
       xmlName={http://ws.hska.de/jaws}findNachname
       javaName=findNachname
       style=rpc/literal
       oneWay=false
       soapAction=
      ParameterMetaData:
       xmlName=long_1
       xmlType={http://www.w3.org/2001/XMLSchema}long
       javaType=long
       mode=IN
       inHeader=false
      ReturnMetaData:
       xmlName=result
       xmlType={http://www.w3.org/2001/XMLSchema}string
       javaType=java.lang.String
       mode=OUT
       inHeader=false
      2006-05-06 08:34:35,311 DEBUG [org.jboss.ws.server.ServiceEndpointManager] WebService created: jboss.ws:di=hska.ear/hskaEJB.jar,service=KundenverwaltungWSService,port=KundenverwaltungWSPort
      2006-05-06 08:34:35,391 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] create: file:/C:/Programme/jboss/server/default/tmp/deploy/hska.ear-hskaEJB.jar-ws26703.war/
      2006-05-06 08:34:35,391 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] start: file:/C:/Programme/jboss/server/default/tmp/deploy/hska.ear-hskaEJB.jar-ws26703.war/
      2006-05-06 08:34:35,451 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/hskaEJB, warUrl=.../tmp/deploy/hska.ear-hskaEJB.jar-ws26703.war/
      2006-05-06 08:34:35,691 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] create: file:/C:/Programme/jboss/server/default/tmp/deploy/tmp26701hska.ear-contents/hskaWeb.war
      2006-05-06 08:34:35,711 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] start: file:/C:/Programme/jboss/server/default/tmp/deploy/tmp26701hska.ear-contents/hskaEJB.jar
      ...
      2006-05-06 08:34:38,856 DEBUG [org.jboss.ws.server.WSDLFilePublisher] Publish WSDL file: file:/C:/Programme/jboss/server/default/tmp/jbossws/KundenverwaltungWSService26702.wsdl
      2006-05-06 08:34:38,876 INFO [org.jboss.ws.server.WSDLFilePublisher] WSDL published to: file:/C:/Programme/jboss/server/default/data/wsdl/hska.ear/hskaEJB.jar/KundenverwaltungWSService26702.wsdl
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory] parse: file:/C:/Programme/jboss/server/default/data/wsdl/hska.ear/hskaEJB.jar/KundenverwaltungWSService26702.wsdl
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] new WSDLInterface
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setName: KundenverwaltungWS
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setQName: {http://ws.hska.de/jaws}KundenverwaltungWS
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] new WSDLBinding
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setQName: {http://ws.hska.de/jaws}KundenverwaltungWSBinding
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setName: KundenverwaltungWSBinding
      2006-05-06 08:34:38,876 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setInterfaceName: KundenverwaltungWSBinding
      2006-05-06 08:34:38,886 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl@5440318 [xmlType={http://www.w3.org/2001/XMLSchema}long,javaType=java.lang.Long,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory@1f9e6e5,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory@1a5d6d6]
      2006-05-06 08:34:38,926 INFO [org.jboss.ws.server.ServiceEndpointManager] WebService started: http://fbwi-co0183:8080/hskaEJB/KundenverwaltungWSBean
      2006-05-06 08:34:38,926 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] start: file:/C:/Programme/jboss/server/default/tmp/deploy/tmp26701hska.ear-contents/hskaWeb.war
      ...
      2006-05-06 08:34:55,910 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=200603311500)] Started in 41s:720ms
      2006-05-06 08:36:50,005 DEBUG [org.jboss.ws.server.ServiceEndpointServlet] doPost: /hskaEJB/KundenverwaltungWSBean
      2006-05-06 08:36:50,025 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@1dc11af
      2006-05-06 08:36:50,025 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:di=hska.ear/hskaEJB.jar,service=KundenverwaltungWSService,port=KundenverwaltungWSPort
      2006-05-06 08:36:50,025 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers
      2006-05-06 08:36:50,035 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: []
      2006-05-06 08:36:50,035 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null]
      2006-05-06 08:36:50,065 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=UTF-8]
      2006-05-06 08:36:50,095 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: <SOAPSDK4:long_1>1</SOAPSDK4:long_1>
      2006-05-06 08:36:50,095 DEBUG [org.jboss.ws.server.ServiceEndpoint] Incomming SOAPMessage
      <SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:SOAPSDK1='http://www.w3.org/2001/XMLSchema' xmlns:SOAPSDK2='http://www.w3.org/2001/XMLSchema-instance' xmlns:SOAPSDK3='http://schemas.xmlsoap.org/soap/encoding/'>
       <SOAP-ENV:Header/>
       <SOAP-ENV:Body>
       <SOAPSDK4:findNachname xmlns:SOAPSDK4='http://ws.hska.de/jaws'>
       <SOAPSDK4:long_1>1</SOAPSDK4:long_1>
       </SOAPSDK4:findNachname>
       </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
      2006-05-06 08:36:50,105 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: {http://ws.hska.de/jaws}findNachname
      2006-05-06 08:36:50,105 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindRequestMessage: {http://ws.hska.de/jaws}findNachname
      2006-05-06 08:36:50,115 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=javax.xml.rpc.JAXRPCException: Cannot find child element: long_1,actor=null,detail=null]
      2006-05-06 08:36:50,115 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception
      javax.xml.rpc.JAXRPCException: Cannot find child element: long_1
       at org.jboss.ws.binding.soap.SOAPBindingProvider.getParameterFromMessage(SOAPBindingProvider.java:809)
       at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindRequestMessage(SOAPBindingProvider.java:266)
       at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
       at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234)
       at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:831)
       at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
       at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1196)
       at java.lang.Thread.run(Thread.java:595)
      2006-05-06 08:36:50,115 DEBUG [org.jboss.ws.server.ServiceEndpoint] Outgoing SOAPMessage
      <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
       <env:Header/>
       <env:Body>
       <env:Fault>
       <faultcode>env:Client</faultcode>
       <faultstring>javax.xml.rpc.JAXRPCException: Cannot find child element: long_1</faultstring>
       </env:Fault>
       </env:Body>
      </env:Envelope>
      2006-05-06 08:36:50,115 DEBUG [org.jboss.ws.server.ServiceEndpoint] END handleRequest: jboss.ws:di=hska.ear/hskaEJB.jar,service=KundenverwaltungWSService,port=KundenverwaltungWSPort
      2006-05-06 08:36:50,155 DEBUG [org.jboss.ws.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@1dc11af
      


      WSDL generated by Axis:
      <?xml version="1.0" encoding="UTF-8"?>
      <wsdl:definitions targetNamespace="http://ws.hska.de" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://ws.hska.de" xmlns:intf="http://ws.hska.de" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <wsdl:message name="findNachnameRequest">
       <wsdl:part name="id" type="xsd:long"/>
       </wsdl:message>
       <wsdl:message name="findNachnameResponse">
       <wsdl:part name="findNachnameReturn" type="xsd:string"/>
       </wsdl:message>
       <wsdl:portType name="KundenverwaltungWS">
       <wsdl:operation name="findNachname" parameterOrder="id">
       <wsdl:input message="impl:findNachnameRequest" name="findNachnameRequest"/>
       <wsdl:output message="impl:findNachnameResponse" name="findNachnameResponse"/>
       </wsdl:operation>
       </wsdl:portType>
       <wsdl:binding name="KundenverwaltungWSSoapBinding" type="impl:KundenverwaltungWS">
       <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
       <wsdl:operation name="findNachname">
       <wsdlsoap:operation soapAction=""/>
       <wsdl:input name="findNachnameRequest">
       <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.hska.de" use="encoded"/>
       </wsdl:input>
       <wsdl:output name="findNachnameResponse">
       <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.hska.de" use="encoded"/>
       </wsdl:output>
       </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="KundenverwaltungWSService">
       <wsdl:port binding="impl:KundenverwaltungWSSoapBinding" name="KundenverwaltungWS">
       <wsdlsoap:address location="http://localhost:8080/wstest/services/KundenverwaltungWS"/>
       </wsdl:port>
       </wsdl:service>
      </wsdl:definitions>
      


        • 1. Re: JBossWS 1.0 vs. Axis 1.3
          Thomas Diesler Master

          There are two issues here

          #1 your message is not valid according to the wsdl. long_1 should indeed not be namespace qualified

          #2 rpc/encoded is not allowed according to hte BasicProfile-1.0 - you can use rpc/literal instead.

          • 2. Re: JBossWS 1.0 vs. Axis 1.3
            Burr Sutter Master

            I have been trying to work my way through this as well. The problem is in the namespace prefix on the parameter. JBossWS expects:

            <long_1>100.0</long_1> instead of
            <SOAPSDK4:long_1></SOAPSDK4:long_1> which is produced by the the MS Toolkit.

            I have been testing with the 3.x version of the Toolkit. I tried both doc and rpc/lit (i think has been a few days since I last tried).

            It is possible that MS SOAP Toolkit is incompatible with Basic Profile 1.0 and therefore just won't work with JBossWS.
            You can always turn to the Visual Studio Tools for Office (VSTO) to enable web service calls/bindings for Excel on the .NET platform.
            My testing of .NET interop went well.
            The downside to this suggestion is that VSTO requires Visual Studio and Office Professional (or Excel standalone) and you don't likely have these on your box and will need to spend some money.

            The last time I looked on the MSFT website it said the SOAP Toolkit was unsupported.


            What do you think? I'd like to solve this problem as well.

            Burr
            burr.sutter@jboss.com

            • 3. Re: JBossWS 1.0 vs. Axis 1.3
              Thomas Diesler Master

              It is a general design desission that we made. JBossWS won't consume illegal SOAP messages from SOAP stack X.

              Axis has been more lenient WRT that, but recent interop tests actually check for strict behaviour.

              With the current implementation, the message would have to be fixed out of scope. i.e. by some FixIllegalSOAPMessageFilter

              • 4. Re: JBossWS 1.0 vs. Axis 1.3
                Thomas Diesler Master

                In future, you will have control over the first point of contact for message preprocessing and other dirty tricks

                http://jira.jboss.com/jira/browse/JBWS-930