0 Replies Latest reply on Oct 27, 2005 10:22 AM by Gert Wohlgemuth

    hi, weird problem with jboss-4.0.3SP1 -  Cannot find jaxrpc-

    Gert Wohlgemuth Newbie

      hi,

      I'm kind a to webservices, but it can't be so complicated or?

      what does i do:

      session bean with endpoint and complex types.

      tools:

      xdoclet ws4ee ejbdoclet

      java2wsdl

      selfwritten mapping file, because generated is a piece of...

      -----------------------------------------------------------------
      I always get this weird warning in jboss:

      07:12:51,944 INFO [WSDLFilePublisher] WSDL published to: file:/home/wohlgemuth/bin/jboss-4.0.3SP1/server/default/data/wsdl/BCI.ear/BCI.jar/service.wsdl
      07:12:51,998 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://exception.bci.binbase.metabolomics.genomics.ucdavis.edu}CommunicationExcpetion
      07:12:51,998 WARN [ServiceDescription] Guessing fault java type from qname: edu.ucdavis.genomics.metabolomics.binbase.bci.exception.CommunicationExcpetion
      07:12:51,998 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://exception.bci.binbase.metabolomics.genomics.ucdavis.edu}CommunicationExcpetion
      07:12:51,998 WARN [ServiceDescription] Guessing fault java type from qname: edu.ucdavis.genomics.metabolomics.binbase.bci.exception.CommunicationExcpetion
      07:12:51,998 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu}ExperimentSample
      07:12:51,998 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu}Experiment
      07:12:51,998 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu}ExperimentClass
      07:12:52,002 INFO [AxisService] WSDD published to: /home/wohlgemuth/bin/jboss-4.0.3SP1/server/default/data/wsdl/BCI.ear/BCI.jar/BinBaseService.wsdd


      and have no idea what to do, I read nearly everything waht Dr. Google gave me and also our "webservice-experte" could't help me at all.

      so does anybody has an idea what to do, I'm sitting since 3 days at this damn silly problem...

      --------------------------------------------------
      wsdl file
      --------------------------------------------------

      <?xml version="1.0" encoding="UTF-8"?>
      <wsdl:definitions targetNamespace="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" xmlns:intf="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns2="http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu" xmlns:tns3="http://exception.bci.binbase.metabolomics.genomics.ucdavis.edu" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <wsdl:types>


























      <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:ExperimentSample[]"/>






      <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:ExperimentClass[]"/>












      </wsdl:types>

      <wsdl:message name="triggerExportRequest">

      <wsdl:part name="in0" type="tns2:Experiment"/>

      </wsdl:message>

      <wsdl:message name="triggerImportResponse">

      </wsdl:message>

      <wsdl:message name="triggerExportResponse">

      </wsdl:message>

      <wsdl:message name="triggerImportRequest">

      <wsdl:part name="in0" type="tns2:ExperimentClass"/>

      </wsdl:message>

      <wsdl:message name="doNothingRequest">

      <wsdl:part name="in0" type="tns2:ExperimentSample"/>

      </wsdl:message>

      <wsdl:message name="doNothingResponse">

      </wsdl:message>

      <wsdl:message name="CommunicationExcpetion">

      <wsdl:part name="fault" type="tns3:CommunicationExcpetion"/>

      </wsdl:message>

      <wsdl:portType name="BinBaseService">

      <wsdl:operation name="triggerImport" parameterOrder="in0">

      <wsdl:input message="impl:triggerImportRequest" name="triggerImportRequest"/>

      <wsdl:output message="impl:triggerImportResponse" name="triggerImportResponse"/>

      <wsdl:fault message="impl:CommunicationExcpetion" name="CommunicationExcpetion"/>

      </wsdl:operation>

      <wsdl:operation name="triggerExport" parameterOrder="in0">

      <wsdl:input message="impl:triggerExportRequest" name="triggerExportRequest"/>

      <wsdl:output message="impl:triggerExportResponse" name="triggerExportResponse"/>

      <wsdl:fault message="impl:CommunicationExcpetion" name="CommunicationExcpetion"/>

      </wsdl:operation>

      <wsdl:operation name="doNothing" parameterOrder="in0">

      <wsdl:input message="impl:doNothingRequest" name="doNothingRequest"/>

      <wsdl:output message="impl:doNothingResponse" name="doNothingResponse"/>

      </wsdl:operation>

      </wsdl:portType>

      <wsdl:binding name="BinBaseServicePortSoapBinding" type="impl:BinBaseService">

      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="triggerImport">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="triggerImportRequest">

      <wsdlsoap:body namespace="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" use="literal"/>

      </wsdl:input>

      <wsdl:output name="triggerImportResponse">

      <wsdlsoap:body namespace="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" use="literal"/>

      </wsdl:output>

      <wsdl:fault name="CommunicationExcpetion">

      <wsdlsoap:fault use="literal"/>

      </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="triggerExport">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="triggerExportRequest">

      <wsdlsoap:body namespace="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" use="literal"/>

      </wsdl:input>

      <wsdl:output name="triggerExportResponse">

      <wsdlsoap:body namespace="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" use="literal"/>

      </wsdl:output>

      <wsdl:fault name="CommunicationExcpetion">

      <wsdlsoap:fault use="literal"/>

      </wsdl:fault>

      </wsdl:operation>

      <wsdl:operation name="doNothing">

      <wsdlsoap:operation soapAction=""/>

      <wsdl:input name="doNothingRequest">

      <wsdlsoap:body namespace="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" use="literal"/>

      </wsdl:input>

      <wsdl:output name="doNothingResponse">

      <wsdlsoap:body namespace="http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu" use="literal"/>

      </wsdl:output>

      </wsdl:operation>

      </wsdl:binding>

      <wsdl:service name="BinBaseServiceService">

      <wsdl:port binding="impl:BinBaseServicePortSoapBinding" name="BinBaseServicePort">

      <wsdlsoap:address location="http://this.value.is.replaced.by.jboss"/>

      </wsdl:port>

      </wsdl:service>

      </wsdl:definitions>


      ------------------------------------
      mapping
      -------------------------------------


      <java-wsdl-mapping
      xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
      http://java.sun.com/xml/ns/j2ee/j2ee_jaxrpc_mapping_1_1.xsd"
      version="1.1">
      <package-mapping>
      <package-type>edu.ucdavis.genomics.metabolomics.binbase.bci.server.ejb</package-type>
      http://ejb.server.bci.binbase.metabolomics.genomics.ucdavis.edu
      </package-mapping>
      <package-mapping>
      <package-type>edu.ucdavis.genomics.metabolomics.binbase.bci.server.types</package-type>
      http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu
      </package-mapping>
      <package-mapping>
      <package-type>edu.ucdavis.genomics.metabolomics.binbase.bci.server.webservice</package-type>
      http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu
      </package-mapping>
      <package-mapping>
      <package-type>edu.ucdavis.genomics.metabolomics.binbase.bci.exception</package-type>
      http://exception.bci.binbase.metabolomics.genomics.ucdavis.edu
      </package-mapping>
      </java-wsdl-mapping>
      <deployment
      xmlns='http://xml.apache.org/axis/wsdd/'
      xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
      xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xmlns:xsd='http://www.w3.org/2001/XMLSchema'>






      <operation name='doNothing' qname='ns1:doNothing' xmlns:ns1='http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu' >
      <parameter name='in0' qname='in0' mode='IN' type='ns2:ExperimentSample' xmlns:ns2='http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu' />

      <operation name='triggerExport' qname='ns1:triggerExport' xmlns:ns1='http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu' >
      <parameter name='in0' qname='in0' mode='IN' type='ns2:Experiment' xmlns:ns2='http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu' />
      <fault name='fault' qname='fault' type='ns3:CommunicationExcpetion' class='edu.ucdavis.genomics.metabolomics.binbase.bci.exception.CommunicationExcpetion' xmlns:ns3='http://exception.bci.binbase.metabolomics.genomics.ucdavis.edu' />

      <operation name='triggerImport' qname='ns1:triggerImport' xmlns:ns1='http://webservice.server.bci.binbase.metabolomics.genomics.ucdavis.edu' >
      <parameter name='in0' qname='in0' mode='IN' type='ns2:ExperimentClass' xmlns:ns2='http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu' />
      <fault name='fault' qname='fault' type='ns3:CommunicationExcpetion' class='edu.ucdavis.genomics.metabolomics.binbase.bci.exception.CommunicationExcpetion' xmlns:ns3='http://exception.bci.binbase.metabolomics.genomics.ucdavis.edu' />


      <typeMapping
      qname='ns2:Experiment' xmlns:ns2='http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu'
      type='java:edu.ucdavis.genomics.metabolomics.binbase.bci.server.types.Experiment'
      serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory'
      deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory'
      encodingStyle=''>


      <typeMapping
      qname='ns2:ExperimentClass' xmlns:ns2='http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu'
      type='java:edu.ucdavis.genomics.metabolomics.binbase.bci.server.types.ExperimentClass'
      serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory'
      deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory'
      encodingStyle=''>


      <typeMapping
      qname='ns2:ExperimentSample' xmlns:ns2='http://types.server.bci.binbase.metabolomics.genomics.ucdavis.edu'
      type='java:edu.ucdavis.genomics.metabolomics.binbase.bci.server.types.ExperimentSample'
      serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory'
      deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory'
      encodingStyle=''>






      -----------------------------------------------------
      wsdd
      -----------------------------------------------------