0 Replies Latest reply on Jan 24, 2006 5:24 AM by aungphone

    java-wsdl-mapping

    aungphone

      HI All,

      I have a problem that when i map java package with wsdl name space url , most class i occupined are not in same package and so can i insert more than one of package-type in the package mapping.

      My classes in following difference package :
      com.test.common.Status
      com.test.data.USAddress

      My code is the same as JBoss's test case :
      http://anoncvs.forge.jboss.com/viewrep/~raw,r=1.4/JBoss/webservice/test/java/org/jboss/test/ws/jsr181/webresult/JSR181WebResultTestCase.java

      jaxrpc-mapping.xml :

      <package-mapping>
      <package-type>com.test.data</package-type>
      <namespaceURI>http://com.test.application/MyTestService</namespaceURI>
      </package-mapping>
      


      The problem :
      Failed to resolve class name for {http://com.test.application/MyTestService}status: com.test.data.Status
      If I give config like that, It seems my Status class as com.test.data.Status.

      Thanks in advance,