You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "clemens utschig (JIRA)" <tu...@ws.apache.org> on 2008/02/09 02:10:07 UTC

[jira] Created: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
----------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-2033
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-1.0.1
            Reporter: clemens utschig
            Priority: Critical


I have a composite defined that uses an external referenced webservice which provides SDOs

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
           targetNamespace="/model/common/"
            xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
            name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
            xmlns:types="/model/common/types/"
            xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
            xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
   <component name="FlexEmployeeServiceComponent">
     <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
     <reference name="empFlexFieldService"/>
   </component>
  <reference name="empFlexFieldService"
              promote="FlexEmployeeServiceComponent/empFlexFieldService">
     <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
     <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
   </reference>
 </composite>

The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..

@javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
    style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
@javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
    wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
@oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
public interface EmpFlexFieldService {
    public static final String NAME = 
        new QName("/model/common/", "EmpFlexFieldService").toString();

    @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
    @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
        localName="getEmployees1")
    @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
        localName="getEmployees1Response")
    @javax.jws.WebResult(name="result")
    DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
            name="empno")
        Integer empno) throws ServiceException;

At runtime - axis generates the following soap message - which is derived from the base targetNamespace

> 	<?xml version='1.0' encoding='UTF-8'?>
> 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> 		<soapenv:Body>
> 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> 				<empno xmlns="/model/common/">1</empno>
> 			</_ns_:getEmployees1>
> 		</soapenv:Body>
> 	</soapenv:Envelope>

obviously this is wrong - it should be ..

> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>     <soap:Body xmlns:ns1="/model/common/types/">
>         <ns1:getEmployees1>
>             <ns1:empno></ns1:empno>
>         </ns1:getEmployees1>
>     </soap:Body>
> </soap:Envelope>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by Scott Kurz <sc...@gmail.com>.
Simon,

Would you agree with the gist of my comment that, even though the component
reference uses <interface.java>, the JAX-WS annotations
within that Java should make it compatible with the <binding.ws>  WSDL
portType?

And sorry if we're past that... I was just looking this over and wasn't sure
we agreed on that point.

Thanks,
Scott

On Tue, Mar 18, 2008 at 9:17 AM, Scott Kurz (JIRA) <
tuscany-dev@ws.apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579836#action_12579836]
>
> Scott Kurz commented on TUSCANY-2033:
> -------------------------------------
>
> I'm surprised we'd view Clemens' original example as an error, though I
> agree the jira2033.zip should be detected as an error.
>
> True, the original component reference was defined via the introspected <
> interface.java>.   But shouldn't the JAX-WS annotations be taken into
> consideration?
>
>  I'm not sure precisely how to do so, whether to build an interface model
> object incorporating both Java & WSDL info or simply to define the mapping
> algorithm to allow for this, or if we've gotten anywhere since this was
> opened a month ago, so I'll leave it at that.
>
>
>
>
>
>
>
> > java interface exposed as service, annoted with
> javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> >
> ----------------------------------------------------------------------------------------------------------
> >
> >                 Key: TUSCANY-2033
> >                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
> >             Project: Tuscany
> >          Issue Type: Bug
> >          Components: Java SCA Axis Binding Extension
> >    Affects Versions: Java-SCA-1.0.1
> >            Reporter: clemens utschig
> >            Assignee: Raymond Feng
> >            Priority: Critical
> >             Fix For: Java-SCA-Next
> >
> >         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl,
> jira2033.zip, SDOReferenceBinding.zip
> >
> >
> > I have a composite defined that uses an external referenced webservice
> which provides SDOs
> > <?xml version="1.0" encoding="UTF-8"?>
> > <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >            targetNamespace="/model/common/"
> >             xmlns:dbsdo="
> http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
> >             name="FlexEmployeeComposite"
> xmlns:tns="/model/common/types/"
> >             xmlns:types="/model/common/types/"
> >             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
> >             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
> >    <component name="FlexEmployeeServiceComponent">
> >      <implementation.java class="
> com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
> >      <reference name="empFlexFieldService"/>
> >    </component>
> >   <reference name="empFlexFieldService"
> >
> promote="FlexEmployeeServiceComponent/empFlexFieldService">
> >      <interface.java interface="
> model.common.serviceinterface.EmpFlexFieldService"/>
> >      <binding.ws uri="
> http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService
> "/>
> >    </reference>
> >  </composite>
> > The java interface that is promoted as service interface / and reflects
> the webservice endpoint, contains jaxws annotations for namespaces as below
> ..
> > @javax.jws.soap.SOAPBinding(parameterStyle=
> javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED,
> >     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> > @javax.jws.WebService(targetNamespace="/model/common/",
> name="EmpFlexFieldService",
> >
> wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> > @oracle.j2ee.ws.common.sdo.SchemaLocation
> (value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> > public interface EmpFlexFieldService {
> >     public static final String NAME =
> >         new QName("/model/common/", "EmpFlexFieldService").toString();
> >     @javax.jws.WebMethod(action="/model/common/getEmployees1",
> operationName="getEmployees1")
> >     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/",
> >         localName="getEmployees1")
> >     @javax.xml.ws.ResponseWrapper
> (targetNamespace="/model/common/types/",
> >         localName="getEmployees1Response")
> >     @javax.jws.WebResult(name="result")
> >     DataObject getEmployees1(@javax.jws.WebParam(mode=
> javax.jws.WebParam.Mode.IN,
> >             name="empno")
> >         Integer empno) throws ServiceException;
> > At runtime - axis generates the following soap message - which is
> derived from the base targetNamespace
> > >     <?xml version='1.0' encoding='UTF-8'?>
> > >     <soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/">
> > >             <soapenv:Body>
> > >                     <_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > >                             <empno xmlns="/model/common/">1</empno>
> > >                     </_ns_:getEmployees1>
> > >             </soapenv:Body>
> > >     </soapenv:Envelope>
> > obviously this is wrong - it should be ..
> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> > >     <soap:Body xmlns:ns1="/model/common/types/">
> > >         <ns1:getEmployees1>
> > >             <ns1:empno></ns1:empno>
> > >         </ns1:getEmployees1>
> > >     </soap:Body>
> > > </soap:Envelope>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by Scott Kurz <sc...@gmail.com>.
Thanks Simon that clears things up.


On Wed, Mar 19, 2008 at 10:00 AM, Simon Nash (JIRA) <
tuscany-dev@ws.apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580378#action_12580378]
>
> Simon Nash commented on TUSCANY-2033:
> -------------------------------------
>
> Thanks Scott for pointing this out.  There are two different problems
> here:
>
> 1. JAX-WS annotations on Java interfaces not being handled correctly by
> Tuscany.  This is the problem reported by Clemens as TUSCANY-2033.  I am
> assigning this to myself for further investigation.
>
> 2. Conflicts (e.g., namespace differences) between a component reference
> interface and its promoted composite reference interface not being detected
> by Tuscany.  I have opened TUSCANY-2109 for this problem and I have attached
> the test case I wrote to illustrate this problem to TUSCANY-2109.  To avoid
> confusion, I am also removing this test case from this JIRA.
>
> > java interface exposed as service, annoted with
> javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> >
> ----------------------------------------------------------------------------------------------------------
> >
> >                 Key: TUSCANY-2033
> >                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
> >             Project: Tuscany
> >          Issue Type: Bug
> >          Components: Java SCA Axis Binding Extension
> >    Affects Versions: Java-SCA-1.0.1
> >            Reporter: clemens utschig
> >            Assignee: Raymond Feng
> >            Priority: Critical
> >             Fix For: Java-SCA-Next
> >
> >         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl,
> SDOReferenceBinding.zip
> >
> >
> > I have a composite defined that uses an external referenced webservice
> which provides SDOs
> > <?xml version="1.0" encoding="UTF-8"?>
> > <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >            targetNamespace="/model/common/"
> >             xmlns:dbsdo="
> http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
> >             name="FlexEmployeeComposite"
> xmlns:tns="/model/common/types/"
> >             xmlns:types="/model/common/types/"
> >             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
> >             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
> >    <component name="FlexEmployeeServiceComponent">
> >      <implementation.java class="
> com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
> >      <reference name="empFlexFieldService"/>
> >    </component>
> >   <reference name="empFlexFieldService"
> >
> promote="FlexEmployeeServiceComponent/empFlexFieldService">
> >      <interface.java interface="
> model.common.serviceinterface.EmpFlexFieldService"/>
> >      <binding.ws uri="
> http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService
> "/>
> >    </reference>
> >  </composite>
> > The java interface that is promoted as service interface / and reflects
> the webservice endpoint, contains jaxws annotations for namespaces as below
> ..
> > @javax.jws.soap.SOAPBinding(parameterStyle=
> javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED,
> >     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> > @javax.jws.WebService(targetNamespace="/model/common/",
> name="EmpFlexFieldService",
> >
> wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> > @oracle.j2ee.ws.common.sdo.SchemaLocation
> (value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> > public interface EmpFlexFieldService {
> >     public static final String NAME =
> >         new QName("/model/common/", "EmpFlexFieldService").toString();
> >     @javax.jws.WebMethod(action="/model/common/getEmployees1",
> operationName="getEmployees1")
> >     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/",
> >         localName="getEmployees1")
> >     @javax.xml.ws.ResponseWrapper
> (targetNamespace="/model/common/types/",
> >         localName="getEmployees1Response")
> >     @javax.jws.WebResult(name="result")
> >     DataObject getEmployees1(@javax.jws.WebParam(mode=
> javax.jws.WebParam.Mode.IN,
> >             name="empno")
> >         Integer empno) throws ServiceException;
> > At runtime - axis generates the following soap message - which is
> derived from the base targetNamespace
> > >     <?xml version='1.0' encoding='UTF-8'?>
> > >     <soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/">
> > >             <soapenv:Body>
> > >                     <_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > >                             <empno xmlns="/model/common/">1</empno>
> > >                     </_ns_:getEmployees1>
> > >             </soapenv:Body>
> > >     </soapenv:Envelope>
> > obviously this is wrong - it should be ..
> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> > >     <soap:Body xmlns:ns1="/model/common/types/">
> > >         <ns1:getEmployees1>
> > >             <ns1:empno></ns1:empno>
> > >         </ns1:getEmployees1>
> > >     </soap:Body>
> > > </soap:Envelope>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

[jira] Updated: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "clemens utschig (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clemens utschig updated TUSCANY-2033:
-------------------------------------

    Attachment: EmpFlexFieldService.wsdl

the wsdl that represents the endpoint in the ws binding.

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Priority: Critical
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-2033:
-------------------------------------

    Assignee: Raymond Feng

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580444#action_12580444 ] 

Raymond Feng commented on TUSCANY-2033:
---------------------------------------

We honor the JAXWS annotations in org.apache.tuscany.sca.interfacedef.java.jaxws.JAXWSJavaInterfaceProcessor. But the Java2WSDLHelper calles Axis2 instead of generating the WSDL from the Interface/Operation model we build. So I think the problem is probably caused by Axis2 java2wsdl code.

Thanks,
Raymond

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580378#action_12580378 ] 

Simon Nash commented on TUSCANY-2033:
-------------------------------------

Thanks Scott for pointing this out.  There are two different problems here:

1. JAX-WS annotations on Java interfaces not being handled correctly by Tuscany.  This is the problem reported by Clemens as TUSCANY-2033.  I am assigning this to myself for further investigation. 

2. Conflicts (e.g., namespace differences) between a component reference interface and its promoted composite reference interface not being detected by Tuscany.  I have opened TUSCANY-2109 for this problem and I have attached the test case I wrote to illustrate this problem to TUSCANY-2109.  To avoid confusion, I am also removing this test case from this JIRA.

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578774#action_12578774 ] 

Simon Nash commented on TUSCANY-2033:
-------------------------------------

Ths problem is related to promotion of the reference.  The component reference is defined with <interface.java> (this happens implicitly by introspection because there is no explicit interface in the composite file).  When the component reference is promoted to a composite reference, there is a namespace conflict between the component reference's <interface.java> and the composite reference's <interface.wsdl>.

This conflict should be diagnosed as an error because it violates the spec rule that an interface specified on a composite reference must be a compatible superset of the interface of the promoted component reference.  In this case, the composite interface is incompatible with the component reference becuase it has a different namespace.

There is code in CompositeWireBuilderImpl.connectCompositeReferences() to handle connections between composite references and promoted compoennt references.  The only interface processing performed in this method is to copy the component reference's interface contract to the composite reference's interface contract if the composite reference does not have an interface contract.  Code should be added here to check for conflicts between the composite reference's interface and the component reference's interface if both interfaces are specified.

Similar code should be added to CompositeWireBuilderImpl.connectCompositeServices() to check that the composite service interface is a compatible subset of the component service interface as required by the spec.


> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "clemens utschig (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clemens utschig updated TUSCANY-2033:
-------------------------------------

    Attachment: SDOReferenceBinding.zip

the complete clientside testcase

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-2033:
--------------------------------

    Attachment:     (was: jira2033.zip)

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by Simon Nash <na...@apache.org>.
Clemens Utschig - Utschig wrote:
> Sebastian,
> it works :) thank you very much .. would you kindly explain what this changed in the behavior?
> 
Actually, I'm Simon :-)

I'm still chasing down the root cause of this.  It seems to be related
to promotion of the reference.  The component reference is defined
with <interface.java> (this is implicitly done by introspection, since
no explicit interface for this appears in the composite file).  When
the component reference is promoted to a composite reference, the
<interface.java> is retained and is not overridden by the explicit
<interface.wsdl> in the promoted composite reference.  This causes
the <binding.ws> to regenerate new WSDL from the <interface.java>
definition, and this WSDL has tne wrong namespace.

I confirmed this by adding an explicit <interface.wsdl> to the
component reference and omitting wsdlElement from the <binding.ws>
in the composite reference.  This avoids the problem in my test
environment.

   Simon

> thx clemens
> 
> -----Original Message-----
> From: Simon Nash (JIRA) [mailto:tuscany-dev@ws.apache.org]
> Sent: Monday, February 18, 2008 3:11 PM
> To: tuscany-dev@ws.apache.org
> Subject: [jira] Commented: (TUSCANY-2033) java interface exposed as
> service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
> namespace
> 
> 
> 
>     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570042#action_12570042 ]
> 
> Simon Nash commented on TUSCANY-2033:
> -------------------------------------
> 
> Please try changing your composite file to the following (with wsdlElement specified on <binding.ws>), and let me know whether it fixes the problem.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>            xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>            name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>            xmlns:types="/model/common/types/"
>            xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>            xmlns:flex="http://EmpFlexFieldService"
>            xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>     <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>     <reference name="empFlexFieldService"/>
>   </component>
>   <reference name="empFlexFieldService"
>              promote="FlexEmployeeServiceComponent/empFlexFieldService">
>     <!-- <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/> -->
>     <interface.wsdl interface="/model/common/#wsdl.interface(EmpFlexFieldService)" />
>     <binding.ws wsdlElement="/model/common/#wsdl.binding(EmpFlexFieldServiceSoapHttp)"
>             uri="http://localhost:8888/Application4710-Model-context-root/EmpFlexFieldService"/>
>   </reference>
> </composite>
> 
> 
>> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
>> ----------------------------------------------------------------------------------------------------------
>>
>>                 Key: TUSCANY-2033
>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>>             Project: Tuscany
>>          Issue Type: Bug
>>          Components: Java SCA Axis Binding Extension
>>    Affects Versions: Java-SCA-1.0.1
>>            Reporter: clemens utschig
>>            Priority: Critical
>>             Fix For: Java-SCA-Next
>>
>>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>>
>>
>> I have a composite defined that uses an external referenced webservice which provides SDOs
>> <?xml version="1.0" encoding="UTF-8"?>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>            targetNamespace="/model/common/"
>>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>>             xmlns:types="/model/common/types/"
>>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>>    <component name="FlexEmployeeServiceComponent">
>>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>>      <reference name="empFlexFieldService"/>
>>    </component>
>>   <reference name="empFlexFieldService"
>>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>>    </reference>
>>  </composite>
>> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
>> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED,
>>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
>> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService",
>>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
>> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldServicexsd")
>> public interface EmpFlexFieldService {
>>     public static final String NAME =
>>         new QName("/model/common/", "EmpFlexFieldService").toString();
>>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/",
>>         localName="getEmployees1")
>>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/",
>>         localName="getEmployees1Response")
>>     @javax.jws.WebResult(name="result")
>>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN,
>>             name="empno")
>>         Integer empno) throws ServiceException;
>> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
>>> 	<?xml version='1.0' encoding='UTF-8'?>
>>> 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>> 		<soapenv:Body>
>>> 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
>>> 				<empno xmlns="/model/common/">1</empno>
>>> 			</_ns_:getEmployees1>
>>> 		</soapenv:Body>
>>> 	</soapenv:Envelope>
>> obviously this is wrong - it should be ..
>>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>>>     <soap:Body xmlns:ns1="/model/common/types/">
>>>         <ns1:getEmployees1>
>>>             <ns1:empno></ns1:empno>
>>>         </ns1:getEmployees1>
>>>     </soap:Body>
>>> </soap:Envelope>
> 
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by Raymond Feng <en...@gmail.com>.
Hi,

You need to register the XSDs with SDO. Please see a similar question/answer 
here:

http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg28062.html

Thanks,
Raymond

----- Original Message ----- 
From: "Simon Nash" <na...@apache.org>
To: <tu...@ws.apache.org>
Sent: Tuesday, February 19, 2008 4:36 AM
Subject: Re: [jira] Commented: (TUSCANY-2033) java interface exposed as 
service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the 
namespace


> Clemens Utschig - Utschig wrote:
>> after my little happyness .. I get the next one one deserializing my SDO 
>> ..
>>
>> org.apache.tuscany.sca.implementation.java.impl.JavaImplementationImpl@f037d741
>> Exception in thread "main" 
>> org.apache.tuscany.sca.databinding.TransformationException: 
>> org.apache.tuscany.sca.databinding.TransformationException: 
>> java.lang.RuntimeException: 
>> org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with 
>> uri '/model/common/' not found.
>> at 
>> org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTransformer.transform(Output2OutputTransformer.java:199)
>> at 
>> org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:73)
>> at 
>> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.transform(DataTransformationInterceptor.java:175)
>> at 
>> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:158)
>> at 
>> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
>> at 
>> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
>> at $Proxy11.getEmployees1(Unknown Source)
>> at 
>> com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent.getEmployees1(EmployeeServiceComponent.java:28)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at 
>> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
>> at 
>> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
>> at 
>> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
>> at $Proxy11.getEmployees1(Unknown Source)
>> at com.oracle.soa.test.tuscany.Runner.main(Runner.java:26)
>> Caused by: org.apache.tuscany.sca.databinding.TransformationException: 
>> java.lang.RuntimeException: 
>> org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with 
>> uri '/model/common/' not found.
>> at 
>> org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:53)
>> at 
>> org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:34)
>> at 
>> org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint$LazyPullTransformer.transform(DefaultTransformerExtensionPoint.java:199)
>> at 
>> org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:73)
>> at 
>> org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTransformer.transform(Output2OutputTransformer.java:192)
>> ... 16 more
>> Caused by: java.lang.RuntimeException: 
>> org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with 
>> uri '/model/common/' not found.
>> at 
>> org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocument(XMLStreamHelperImpl.java:145)
>> at 
>> org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(XMLStreamHelperImpl.java:98)
>> at 
>> org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(XMLStreamHelperImpl.java:102)
>> at 
>> org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:49)
>> ... 20 more
>> Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: 
>> Package with uri '/model/common/' not found.
>> at 
>> org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.load(SDOXMLResourceImpl.java:489)
>> at 
>> org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl.load(SDOXMLResourceImpl.java:598)
>> at 
>> org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(XMLDocumentImpl.java:248)
>> at 
>> org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocument(XMLStreamHelperImpl.java:136)
>> ... 23 more
>> Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package 
>> with uri '/model/common/' not found.
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2350)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2188)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:1828)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1787)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1569)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createDocumentRoot(XMLHandler.java:1237)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1165)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1247)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:883)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:866)
>> at 
>> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:627)
>> at 
>> org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl$XmlHandler.startElement(SDOXMLResourceImpl.java:401)
>> at 
>> org.apache.tuscany.sdo.util.StAX2SAXAdapter.handleStartElement(StAX2SAXAdapter.java:162)
>> at 
>> org.apache.tuscany.sdo.util.StAX2SAXAdapter.parse(StAX2SAXAdapter.java:111)
>> at 
>> org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl$1.run(SDOXMLResourceImpl.java:472)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at 
>> org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.load(SDOXMLResourceImpl.java:470)
>> ... 26 more
>>
>> is there anything special I need to do? Do I need to define the types 
>> somewhere? do I need to have pojo*s around for this to work?
>>
> This exception seems to be causing the problem:
>   Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package 
> with uri '/model/common/' not found.
> at 
> org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2350)
>
> I'm not very familiar with EMF, but from the stack trace it looks like
> it's trying to convert the namespace "/model/common/" into a Java package
> and is not able to do this.
>
> I did a bit of google searching for this problem and I came up with [1].
> There are a few suggestions there.  The case you are interested in is
> dynamic SDO.  It seems that you need to ensure the "/model/common/"
> package is preregistered so that the XML can be deserialized by EMF.
>
> I'm not familiar with how to do this EMF registration in Tuscany SCA.
> If anyone knows how to do this, please share your insights!
>
>   Simon
>
> [1] 
> http://wiki.eclipse.org/index.php/EMF-FAQ#I_get_a_PackageNotFoundException:_e.g..2C_.22Package_with_uri_.27http:.2F.2Fcom.example.company.ecore.27_not_found..22_What_do_I_need_to_do.3F
>
>> thx clemens
>>
>> -----Original Message-----
>> From: Clemens Utschig - Utschig [mailto:clemens.utschig@oracle.com]
>> Sent: Monday, February 18, 2008 7:37 PM
>> To: tuscany-dev@ws.apache.org
>> Subject: RE: [jira] Commented: (TUSCANY-2033) java interface exposed as
>> service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
>> namespace
>>
>>
>> Sebastian,
>> it works :) thank you very much .. would you kindly explain what this 
>> changed in the behavior?
>>
>> thx clemens
>>
>> -----Original Message-----
>> From: Simon Nash (JIRA) [mailto:tuscany-dev@ws.apache.org]
>> Sent: Monday, February 18, 2008 3:11 PM
>> To: tuscany-dev@ws.apache.org
>> Subject: [jira] Commented: (TUSCANY-2033) java interface exposed as
>> service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
>> namespace
>>
>>
>>
>>     [ 
>> https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570042#action_12570042 ]
>>
>> Simon Nash commented on TUSCANY-2033:
>> -------------------------------------
>>
>> Please try changing your composite file to the following (with 
>> wsdlElement specified on <binding.ws>), and let me know whether it fixes 
>> the problem.
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>            targetNamespace="/model/common/"
>> 
>> xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>>            name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>>            xmlns:types="/model/common/types/"
>>            xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>>            xmlns:flex="http://EmpFlexFieldService"
>>            xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>>    <component name="FlexEmployeeServiceComponent">
>>     <implementation.java 
>> class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>>     <reference name="empFlexFieldService"/>
>>   </component>
>>   <reference name="empFlexFieldService"
>>              promote="FlexEmployeeServiceComponent/empFlexFieldService">
>>     <!-- <interface.java 
>> interface="model.common.serviceinterface.EmpFlexFieldService"/> -->
>>     <interface.wsdl 
>> interface="/model/common/#wsdl.interface(EmpFlexFieldService)" />
>>     <binding.ws 
>> wsdlElement="/model/common/#wsdl.binding(EmpFlexFieldServiceSoapHttp)"
>> 
>> uri="http://localhost:8888/Application4710-Model-context-root/EmpFlexFieldService"/>
>>   </reference>
>> </composite>
>>
>>
>>> java interface exposed as service, annoted with 
>>> javax.xml.ws.RequestWrapper(...) is ignoring the namespace
>>> ----------------------------------------------------------------------------------------------------------
>>>
>>>                 Key: TUSCANY-2033
>>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>>>             Project: Tuscany
>>>          Issue Type: Bug
>>>          Components: Java SCA Axis Binding Extension
>>>    Affects Versions: Java-SCA-1.0.1
>>>            Reporter: clemens utschig
>>>            Priority: Critical
>>>             Fix For: Java-SCA-Next
>>>
>>>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, 
>>> SDOReferenceBinding.zip
>>>
>>>
>>> I have a composite defined that uses an external referenced webservice 
>>> which provides SDOs
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>>            targetNamespace="/model/common/"
>>> 
>>> xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>>>             name="FlexEmployeeComposite" 
>>> xmlns:tns="/model/common/types/"
>>>             xmlns:types="/model/common/types/"
>>>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>>>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>>>    <component name="FlexEmployeeServiceComponent">
>>>      <implementation.java 
>>> class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>>>      <reference name="empFlexFieldService"/>
>>>    </component>
>>>   <reference name="empFlexFieldService"
>>> 
>>> promote="FlexEmployeeServiceComponent/empFlexFieldService">
>>>      <interface.java 
>>> interface="model.common.serviceinterface.EmpFlexFieldService"/>
>>>      <binding.ws 
>>> uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>>>    </reference>
>>>  </composite>
>>> The java interface that is promoted as service interface / and reflects 
>>> the webservice endpoint, contains jaxws annotations for nmespaces as 
>>> below ..
>>> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED,
>>>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
>>> @javax.jws.WebService(targetNamespace="/model/common/", 
>>> name="EmpFlexFieldService",
>>> 
>>> wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
>>> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldServicexsd")
>>> public interface EmpFlexFieldService {
>>>     public static final String NAME =
>>>         new QName("/model/common/", "EmpFlexFieldService").toString();
>>>     @javax.jws.WebMethod(action="/model/common/getEmployees1", 
>>> operationName="getEmployees1")
>>>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/",
>>>         localName="getEmployees1")
>>> 
>>> @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/",
>>>         localName="getEmployees1Response")
>>>     @javax.jws.WebResult(name="result")
>>>     DataObject 
>>> getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN,
>>>             name="empno")
>>>         Integer empno) throws ServiceException;
>>> At runtime - axis generates the following soap message - which is 
>>> derived from the base targetNamespace
>>>> <?xml version='1.0' encoding='UTF-8'?>
>>>> <soapenv:Envelope 
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>>> <soapenv:Body>
>>>> <_ns_:getEmployees1 xmlns:_ns_="/model/common/">
>>>> <empno xmlns="/model/common/">1</empno>
>>>> </_ns_:getEmployees1>
>>>> </soapenv:Body>
>>>> </soapenv:Envelope>
>>> obviously this is wrong - it should be ..
>>>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>>>>     <soap:Body xmlns:ns1="/model/common/types/">
>>>>         <ns1:getEmployees1>
>>>>             <ns1:empno></ns1:empno>
>>>>         </ns1:getEmployees1>
>>>>     </soap:Body>
>>>> </soap:Envelope>
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by Simon Nash <na...@apache.org>.
Clemens Utschig - Utschig wrote:
> after my little happyness .. I get the next one one deserializing my SDO ..
> 
> org.apache.tuscany.sca.implementation.java.impl.JavaImplementationImpl@f037d741
> Exception in thread "main" org.apache.tuscany.sca.databinding.TransformationException: org.apache.tuscany.sca.databinding.TransformationException: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
> 	at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTransformer.transform(Output2OutputTransformer.java:199)
> 	at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:73)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.transform(DataTransformationInterceptor.java:175)
> 	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:158)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
> 	at $Proxy11.getEmployees1(Unknown Source)
> 	at com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent.getEmployees1(EmployeeServiceComponent.java:28)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
> 	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
> 	at $Proxy11.getEmployees1(Unknown Source)
> 	at com.oracle.soa.test.tuscany.Runner.main(Runner.java:26)
> Caused by: org.apache.tuscany.sca.databinding.TransformationException: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
> 	at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:53)
> 	at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:34)
> 	at org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint$LazyPullTransformer.transform(DefaultTransformerExtensionPoint.java:199)
> 	at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:73)
> 	at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTransformer.transform(Output2OutputTransformer.java:192)
> 	... 16 more
> Caused by: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
> 	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocument(XMLStreamHelperImpl.java:145)
> 	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(XMLStreamHelperImpl.java:98)
> 	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(XMLStreamHelperImpl.java:102)
> 	at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:49)
> 	... 20 more
> Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
> 	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.load(SDOXMLResourceImpl.java:489)
> 	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl.load(SDOXMLResourceImpl.java:598)
> 	at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(XMLDocumentImpl.java:248)
> 	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocument(XMLStreamHelperImpl.java:136)
> 	... 23 more
> Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri '/model/common/' not found.
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2350)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2188)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:1828)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1787)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1569)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createDocumentRoot(XMLHandler.java:1237)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1165)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1247)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:883)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:866)
> 	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:627)
> 	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl$XmlHandler.startElement(SDOXMLResourceImpl.java:401)
> 	at org.apache.tuscany.sdo.util.StAX2SAXAdapter.handleStartElement(StAX2SAXAdapter.java:162)
> 	at org.apache.tuscany.sdo.util.StAX2SAXAdapter.parse(StAX2SAXAdapter.java:111)
> 	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl$1.run(SDOXMLResourceImpl.java:472)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.load(SDOXMLResourceImpl.java:470)
> 	... 26 more
> 
> is there anything special I need to do? Do I need to define the types somewhere? do I need to have pojo*s around for this to work?
>
This exception seems to be causing the problem:
   Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri '/model/common/' not found.
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2350)

I'm not very familiar with EMF, but from the stack trace it looks like
it's trying to convert the namespace "/model/common/" into a Java package
and is not able to do this.

I did a bit of google searching for this problem and I came up with [1].
There are a few suggestions there.  The case you are interested in is
dynamic SDO.  It seems that you need to ensure the "/model/common/"
package is preregistered so that the XML can be deserialized by EMF.

I'm not familiar with how to do this EMF registration in Tuscany SCA.
If anyone knows how to do this, please share your insights!

   Simon

[1] 
http://wiki.eclipse.org/index.php/EMF-FAQ#I_get_a_PackageNotFoundException:_e.g..2C_.22Package_with_uri_.27http:.2F.2Fcom.example.company.ecore.27_not_found..22_What_do_I_need_to_do.3F

> thx clemens
> 
> -----Original Message-----
> From: Clemens Utschig - Utschig [mailto:clemens.utschig@oracle.com]
> Sent: Monday, February 18, 2008 7:37 PM
> To: tuscany-dev@ws.apache.org
> Subject: RE: [jira] Commented: (TUSCANY-2033) java interface exposed as
> service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
> namespace
> 
> 
> Sebastian,
> it works :) thank you very much .. would you kindly explain what this changed in the behavior?
> 
> thx clemens
> 
> -----Original Message-----
> From: Simon Nash (JIRA) [mailto:tuscany-dev@ws.apache.org]
> Sent: Monday, February 18, 2008 3:11 PM
> To: tuscany-dev@ws.apache.org
> Subject: [jira] Commented: (TUSCANY-2033) java interface exposed as
> service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
> namespace
> 
> 
> 
>     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570042#action_12570042 ]
> 
> Simon Nash commented on TUSCANY-2033:
> -------------------------------------
> 
> Please try changing your composite file to the following (with wsdlElement specified on <binding.ws>), and let me know whether it fixes the problem.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>            xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>            name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>            xmlns:types="/model/common/types/"
>            xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>            xmlns:flex="http://EmpFlexFieldService"
>            xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>     <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>     <reference name="empFlexFieldService"/>
>   </component>
>   <reference name="empFlexFieldService"
>              promote="FlexEmployeeServiceComponent/empFlexFieldService">
>     <!-- <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/> -->
>     <interface.wsdl interface="/model/common/#wsdl.interface(EmpFlexFieldService)" />
>     <binding.ws wsdlElement="/model/common/#wsdl.binding(EmpFlexFieldServiceSoapHttp)"
>             uri="http://localhost:8888/Application4710-Model-context-root/EmpFlexFieldService"/>
>   </reference>
> </composite>
> 
> 
>> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
>> ----------------------------------------------------------------------------------------------------------
>>
>>                 Key: TUSCANY-2033
>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>>             Project: Tuscany
>>          Issue Type: Bug
>>          Components: Java SCA Axis Binding Extension
>>    Affects Versions: Java-SCA-1.0.1
>>            Reporter: clemens utschig
>>            Priority: Critical
>>             Fix For: Java-SCA-Next
>>
>>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>>
>>
>> I have a composite defined that uses an external referenced webservice which provides SDOs
>> <?xml version="1.0" encoding="UTF-8"?>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>>            targetNamespace="/model/common/"
>>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>>             xmlns:types="/model/common/types/"
>>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>>    <component name="FlexEmployeeServiceComponent">
>>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>>      <reference name="empFlexFieldService"/>
>>    </component>
>>   <reference name="empFlexFieldService"
>>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>>    </reference>
>>  </composite>
>> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for nmespaces as below ..
>> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED,
>>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
>> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService",
>>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
>> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldServicexsd")
>> public interface EmpFlexFieldService {
>>     public static final String NAME =
>>         new QName("/model/common/", "EmpFlexFieldService").toString();
>>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/",
>>         localName="getEmployees1")
>>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/",
>>         localName="getEmployees1Response")
>>     @javax.jws.WebResult(name="result")
>>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN,
>>             name="empno")
>>         Integer empno) throws ServiceException;
>> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
>>> 	<?xml version='1.0' encoding='UTF-8'?>
>>> 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>> 		<soapenv:Body>
>>> 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
>>> 				<empno xmlns="/model/common/">1</empno>
>>> 			</_ns_:getEmployees1>
>>> 		</soapenv:Body>
>>> 	</soapenv:Envelope>
>> obviously this is wrong - it should be ..
>>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>>>     <soap:Body xmlns:ns1="/model/common/types/">
>>>         <ns1:getEmployees1>
>>>             <ns1:empno></ns1:empno>
>>>         </ns1:getEmployees1>
>>>     </soap:Body>
>>> </soap:Envelope>
> 
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


RE: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by Clemens Utschig - Utschig <cl...@oracle.com>.
after my little happyness .. I get the next one one deserializing my SDO ..

org.apache.tuscany.sca.implementation.java.impl.JavaImplementationImpl@f037d741
Exception in thread "main" org.apache.tuscany.sca.databinding.TransformationException: org.apache.tuscany.sca.databinding.TransformationException: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
	at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTransformer.transform(Output2OutputTransformer.java:199)
	at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:73)
	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.transform(DataTransformationInterceptor.java:175)
	at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:158)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
	at $Proxy11.getEmployees1(Unknown Source)
	at com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent.getEmployees1(EmployeeServiceComponent.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:249)
	at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:146)
	at $Proxy11.getEmployees1(Unknown Source)
	at com.oracle.soa.test.tuscany.Runner.main(Runner.java:26)
Caused by: org.apache.tuscany.sca.databinding.TransformationException: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
	at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:53)
	at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:34)
	at org.apache.tuscany.sca.databinding.DefaultTransformerExtensionPoint$LazyPullTransformer.transform(DefaultTransformerExtensionPoint.java:199)
	at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(MediatorImpl.java:73)
	at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTransformer.transform(Output2OutputTransformer.java:192)
	... 16 more
Caused by: java.lang.RuntimeException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocument(XMLStreamHelperImpl.java:145)
	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(XMLStreamHelperImpl.java:98)
	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadObject(XMLStreamHelperImpl.java:102)
	at org.apache.tuscany.sca.databinding.sdo.XMLStreamReader2DataObject.transform(XMLStreamReader2DataObject.java:49)
	... 20 more
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri '/model/common/' not found.
	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.load(SDOXMLResourceImpl.java:489)
	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl.load(SDOXMLResourceImpl.java:598)
	at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(XMLDocumentImpl.java:248)
	at org.apache.tuscany.sdo.helper.XMLStreamHelperImpl.loadDocument(XMLStreamHelperImpl.java:136)
	... 23 more
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri '/model/common/' not found.
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2350)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2188)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:1828)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1787)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1569)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createDocumentRoot(XMLHandler.java:1237)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1165)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XMLHandler.java:1247)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:883)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:866)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:627)
	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl$XmlHandler.startElement(SDOXMLResourceImpl.java:401)
	at org.apache.tuscany.sdo.util.StAX2SAXAdapter.handleStartElement(StAX2SAXAdapter.java:162)
	at org.apache.tuscany.sdo.util.StAX2SAXAdapter.parse(StAX2SAXAdapter.java:111)
	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl$1.run(SDOXMLResourceImpl.java:472)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.load(SDOXMLResourceImpl.java:470)
	... 26 more

is there anything special I need to do? Do I need to define the types somewhere? do I need to have pojo*s around for this to work?

thx clemens

-----Original Message-----
From: Clemens Utschig - Utschig [mailto:clemens.utschig@oracle.com]
Sent: Monday, February 18, 2008 7:37 PM
To: tuscany-dev@ws.apache.org
Subject: RE: [jira] Commented: (TUSCANY-2033) java interface exposed as
service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
namespace


Sebastian,
it works :) thank you very much .. would you kindly explain what this changed in the behavior?

thx clemens

-----Original Message-----
From: Simon Nash (JIRA) [mailto:tuscany-dev@ws.apache.org]
Sent: Monday, February 18, 2008 3:11 PM
To: tuscany-dev@ws.apache.org
Subject: [jira] Commented: (TUSCANY-2033) java interface exposed as
service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
namespace



    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570042#action_12570042 ]

Simon Nash commented on TUSCANY-2033:
-------------------------------------

Please try changing your composite file to the following (with wsdlElement specified on <binding.ws>), and let me know whether it fixes the problem.

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
           targetNamespace="/model/common/"
           xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
           name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
           xmlns:types="/model/common/types/"
           xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
           xmlns:flex="http://EmpFlexFieldService"
           xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
   <component name="FlexEmployeeServiceComponent">
    <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
    <reference name="empFlexFieldService"/>
  </component>
  <reference name="empFlexFieldService"
             promote="FlexEmployeeServiceComponent/empFlexFieldService">
    <!-- <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/> -->
    <interface.wsdl interface="/model/common/#wsdl.interface(EmpFlexFieldService)" />
    <binding.ws wsdlElement="/model/common/#wsdl.binding(EmpFlexFieldServiceSoapHttp)"
            uri="http://localhost:8888/Application4710-Model-context-root/EmpFlexFieldService"/>
  </reference>
</composite>


> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for nmespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED,
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService",
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldServicexsd")
> public interface EmpFlexFieldService {
>     public static final String NAME =
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/",
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/",
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN,
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


RE: [jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by Clemens Utschig - Utschig <cl...@oracle.com>.
Sebastian,
it works :) thank you very much .. would you kindly explain what this changed in the behavior?

thx clemens

-----Original Message-----
From: Simon Nash (JIRA) [mailto:tuscany-dev@ws.apache.org]
Sent: Monday, February 18, 2008 3:11 PM
To: tuscany-dev@ws.apache.org
Subject: [jira] Commented: (TUSCANY-2033) java interface exposed as
service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the
namespace



    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570042#action_12570042 ]

Simon Nash commented on TUSCANY-2033:
-------------------------------------

Please try changing your composite file to the following (with wsdlElement specified on <binding.ws>), and let me know whether it fixes the problem.

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
           targetNamespace="/model/common/"
           xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
           name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
           xmlns:types="/model/common/types/"
           xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
           xmlns:flex="http://EmpFlexFieldService"
           xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
   <component name="FlexEmployeeServiceComponent">
    <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
    <reference name="empFlexFieldService"/>
  </component>
  <reference name="empFlexFieldService"
             promote="FlexEmployeeServiceComponent/empFlexFieldService">
    <!-- <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/> -->
    <interface.wsdl interface="/model/common/#wsdl.interface(EmpFlexFieldService)" />
    <binding.ws wsdlElement="/model/common/#wsdl.binding(EmpFlexFieldServiceSoapHttp)"
            uri="http://localhost:8888/Application4710-Model-context-root/EmpFlexFieldService"/>
  </reference>
</composite>


> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED,
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService",
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldServicexsd")
> public interface EmpFlexFieldService {
>     public static final String NAME =
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/",
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/",
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN,
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570042#action_12570042 ] 

Simon Nash commented on TUSCANY-2033:
-------------------------------------

Please try changing your composite file to the following (with wsdlElement specified on <binding.ws>), and let me know whether it fixes the problem.

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
           targetNamespace="/model/common/"
           xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
           name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
           xmlns:types="/model/common/types/"
           xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
           xmlns:flex="http://EmpFlexFieldService"
           xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
   <component name="FlexEmployeeServiceComponent">
    <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
    <reference name="empFlexFieldService"/>
  </component>
  <reference name="empFlexFieldService"
             promote="FlexEmployeeServiceComponent/empFlexFieldService">
    <!-- <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/> -->
    <interface.wsdl interface="/model/common/#wsdl.interface(EmpFlexFieldService)" /> 
    <binding.ws wsdlElement="/model/common/#wsdl.binding(EmpFlexFieldServiceSoapHttp)"
            uri="http://localhost:8888/Application4710-Model-context-root/EmpFlexFieldService"/>
  </reference>
</composite>


> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Scott Kurz (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579836#action_12579836 ] 

Scott Kurz commented on TUSCANY-2033:
-------------------------------------

I'm surprised we'd view Clemens' original example as an error, though I agree the jira2033.zip should be detected as an error.

True, the original component reference was defined via the introspected <interface.java>.   But shouldn't the JAX-WS annotations be taken into consideration?    

 I'm not sure precisely how to do so, whether to build an interface model object incorporating both Java & WSDL info or simply to define the mapping algorithm to allow for this, or if we've gotten anywhere since this was opened a month ago, so I'll leave it at that. 







> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, jira2033.zip, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "clemens utschig (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570000#action_12570000 ] 

clemens utschig commented on TUSCANY-2033:
------------------------------------------

changing the interface to interface.wsdl - does not help - still no recognition of the new namespace ..

Attached is the complete client testcase.

src dir contains amongst others Runner.java - the main entry class
and EmployeeServiceComponent the implementation.java guy ..

before compilation make sure the whole src/wsdl dir is in your classpath - and also the libs / classes are included from the /lib dir .. that should do it ..



> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash reassigned TUSCANY-2033:
-----------------------------------

    Assignee: Simon Nash  (was: Raymond Feng)

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Simon Nash
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "clemens utschig (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clemens utschig updated TUSCANY-2033:
-------------------------------------

    Attachment: EmpFlexFieldService.java

the java interface that is promoted as service interface

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Priority: Critical
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-2033) java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace

Posted by "Simon Nash (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-2033:
--------------------------------

    Attachment: jira2033.zip

The attached test case should fail with an error,  but doesn't.

> java interface exposed as service, annoted with javax.xml.ws.RequestWrapper(...) is ignoring the namespace
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2033
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2033
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-1.0.1
>            Reporter: clemens utschig
>            Assignee: Raymond Feng
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: EmpFlexFieldService.java, EmpFlexFieldService.wsdl, jira2033.zip, SDOReferenceBinding.zip
>
>
> I have a composite defined that uses an external referenced webservice which provides SDOs
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>            targetNamespace="/model/common/"
>             xmlns:dbsdo="http://tuscany.apache.org/xmlns/sca/databinding/sdo/1.0"
>             name="FlexEmployeeComposite" xmlns:tns="/model/common/types/"
>             xmlns:types="/model/common/types/"
>             xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
>             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
>    <component name="FlexEmployeeServiceComponent">
>      <implementation.java class="com.oracle.soa.test.tuscany.impl.EmployeeServiceComponent"/>
>      <reference name="empFlexFieldService"/>
>    </component>
>   <reference name="empFlexFieldService"
>               promote="FlexEmployeeServiceComponent/empFlexFieldService">
>      <interface.java interface="model.common.serviceinterface.EmpFlexFieldService"/>
>      <binding.ws uri="http://localhost:1234/Application4710-Model-context-root/EmpFlexFieldService"/>
>    </reference>
>  </composite>
> The java interface that is promoted as service interface / and reflects the webservice endpoint, contains jaxws annotations for namespaces as below ..
> @javax.jws.soap.SOAPBinding(parameterStyle=javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED, 
>     style=javax.jws.soap.SOAPBinding.Style.DOCUMENT)
> @javax.jws.WebService(targetNamespace="/model/common/", name="EmpFlexFieldService", 
>     wsdlLocation="model/common/serviceinterface/EmpFlexFieldService.wsdl")
> @oracle.j2ee.ws.common.sdo.SchemaLocation(value="model/common/serviceinterface/EmpFlexFieldService.xsd")
> public interface EmpFlexFieldService {
>     public static final String NAME = 
>         new QName("/model/common/", "EmpFlexFieldService").toString();
>     @javax.jws.WebMethod(action="/model/common/getEmployees1", operationName="getEmployees1")
>     @javax.xml.ws.RequestWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1")
>     @javax.xml.ws.ResponseWrapper(targetNamespace="/model/common/types/", 
>         localName="getEmployees1Response")
>     @javax.jws.WebResult(name="result")
>     DataObject getEmployees1(@javax.jws.WebParam(mode=javax.jws.WebParam.Mode.IN, 
>             name="empno")
>         Integer empno) throws ServiceException;
> At runtime - axis generates the following soap message - which is derived from the base targetNamespace
> > 	<?xml version='1.0' encoding='UTF-8'?>
> > 	<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> > 		<soapenv:Body>
> > 			<_ns_:getEmployees1 xmlns:_ns_="/model/common/">
> > 				<empno xmlns="/model/common/">1</empno>
> > 			</_ns_:getEmployees1>
> > 		</soapenv:Body>
> > 	</soapenv:Envelope>
> obviously this is wrong - it should be ..
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> >     <soap:Body xmlns:ns1="/model/common/types/">
> >         <ns1:getEmployees1>
> >             <ns1:empno></ns1:empno>
> >         </ns1:getEmployees1>
> >     </soap:Body>
> > </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org