OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interfaces message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Issues with wsrp_services.wsdl


I've found a couple of issues of with the wsrp_services.wsdl posted on oasis.

  • 1st the service and port names for were changed from v1
    • This may break v1 consumers looking for specific service and port names
  • The targetNamespace is v2 for all ports and services
    • Again may cause issues v1 consumers
I would like to propose keeping the v1 wsrp_services.wsdl as it was in v1 and having the v2 wsdl import the v1 wsdl.

I attached samples of this (Note: wsrp_service.wsdl is version #4 (2003-04-17) from the Oasis site).

Thanks,

Nate
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v2:wsdl"
                  xmlns:v2bind="urn:oasis:names:tc:wsrp:v2:bind"
                  xmlns:v1bind="urn:oasis:names:tc:wsrp:v1:bind"

                  xmlns="http://schemas.xmlsoap.org/wsdl/";

                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>

  <!-- The following causes the required WSRP v2 definitions to be used -->
  <import namespace="urn:oasis:names:tc:wsrp:v2:bind" location="wsrp_v2_bindings.wsdl"/>

  <!-- Since this wsdl includes both v1 and v2 service elements, the Consumer will expect
       resources (e.g. registrationHandle, registrationState, etc) can cross the service boundaries -->
  <import namespace="urn:oasis:names:tc:wsrp:v1:wsdl" location="wsrp_service.wsdl"/>


  <!-- A service definition encapsulating the WSRP v2 support of this Producer -->
  <wsdl:service name="WSRP_v2_Service">
    <wsdl:port binding="v2bind:WSRP_v2_Markup_Binding_SOAP" name="WSRP_v2_Markup_Service">
      <soap:address location="http://my.service:8082/WSRPService"/>
    </wsdl:port>
    <wsdl:port binding="v2bind:WSRP_v2_ServiceDescription_Binding_SOAP" name="WSRP_v2_ServiceDescription_Service">
      <soap:address location="http://my.service:8082/WSRPService"/>
    </wsdl:port>
    <wsdl:port binding="v2bind:WSRP_v2_Registration_Binding_SOAP" name="WSRP_v2_Registration_Service">
      <soap:address location="http://my.service:8082/WSRPService"/>
    </wsdl:port>
    <wsdl:port binding="v2bind:WSRP_v2_PortletManagement_Binding_SOAP" name="WSRP_v2_PortletManagement_Service">
      <soap:address location="http://my.service:8082/WSRPService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl"
                  xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"

                  xmlns="http://schemas.xmlsoap.org/wsdl/";

                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>

  <import namespace="urn:oasis:names:tc:wsrp:v1:bind"
          location="wsrp_v1_bindings.wsdl"/>

  <wsdl:service name="WSRPService">
    <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPBaseService">
      <soap:address location="http://my.service:8080/WSRPService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
      <soap:address location="http://my.service:8080/WSRPService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
      <soap:address location="http://my.service:8080/WSRPService"/>
    </wsdl:port>
    <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP" name="WSRPPortletManagementService">
      <soap:address location="http://my.service:8080/WSRPService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]