the support of xs:redefine

25 views
Skip to first unread message

Yau Yik Shiung

unread,
Apr 21, 2016, 11:42:51 PM4/21/16
to Membrane SOA Model
Hi All,

Was trying to extract the schema information from the wsdl using the membrane soa model. Found out that the redefine information is missing when i used the schema.getAsString().

Input

  <wsdl:types>
    <xsd:schema targetNamespace="http://www.serasaexperian.com.br/Imports">
      <xsd:import schemaLocation="InfobuscaSerasa.xsd" namespace="http://www.serasaexperian.com.br"/>
      <xsd:import schemaLocation="InfobuscaSerasa_1_2.xsd" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
      <xsd:import schemaLocation="InfobuscaSerasa_1.xsd" namespace="http://schemas.datacontract.org/2004/07/Serasa.InfobuscaWS.Negocios.Entidades"/>
      <xsd:redefine schemaLocation="InfobuscaSerasa.xsd"/>
    </xsd:schema>
  </wsdl:types>

Output

<xsd:schema targetNamespace='http://www.serasaexperian.com.br/Imports' attributeFormDefault='unqualified' elementFormDefault='unqualified' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:wsa10='http://www.w3.org/2005/08/addressing' xmlns:wsx='http://schemas.xmlsoap.org/ws/2004/09/mex' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' xmlns:wsp='http://schemas.xmlsoap.org/ws/2004/09/policy' xmlns:wsap='http://schemas.xmlsoap.org/ws/2004/08/addressing/policy' xmlns:msc='http://schemas.microsoft.com/ws/2005/12/wsdl/contract' xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing' xmlns:wsam='http://www.w3.org/2007/05/addressing/metadata' xmlns:wsaw='http://www.w3.org/2006/05/addressing/wsdl' xmlns:tns='http://www.serasaexperian.com.br' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'>
  <xsd:import namespace='http://www.serasaexperian.com.br' schemaLocation='InfobuscaSerasa.xsd' />
  <xsd:import namespace='http://schemas.microsoft.com/2003/10/Serialization/' schemaLocation='InfobuscaSerasa_1_2.xsd' />
  <xsd:import namespace='http://schemas.datacontract.org/2004/07/Serasa.InfobuscaWS.Negocios.Entidades' schemaLocation='InfobuscaSerasa_1.xsd' />
</xsd:schema>

The <xsd:redefine schemaLocation="InfobuscaSerasa.xsd"/> information is somehow missing.

Please let me know what can i do to workaround it.

Thanks and Regards
Yau YS

Thomas Bayer

unread,
Apr 22, 2016, 2:14:18 AM4/22/16
to soa-...@googlegroups.com
Hi,
redefine is not supported by SOA Model cause it is not used very often. Please feel free to extend the parser and submit a push request on github if you like.

Cheers,
Thomas



Viele Grüße,
Thomas Bayer

-- 
predic8 GmbH
Moltkestr. 40

53173 Bonn

http://predic8.de
Tel: +49 (0) 228 5552576-0
Fax: +49 (0) 228 5552576-50

Amtsgericht Bonn
HRB 16152
Geschäftsführer: Thomas Bayer
Am 22.04.16 um 05:42 schrieb Yau Yik Shiung:
--
You received this message because you are subscribed to the Google Groups "Membrane SOA Model" group.
To unsubscribe from this group and stop receiving emails from it, send an email to soa-model+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/soa-model/38ecbebe-cbe5-465a-832e-2d4b16c20d8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yau Yik Shiung

unread,
Apr 22, 2016, 2:28:36 AM4/22/16
to soa-...@googlegroups.com
Thanks for your fast reply and confirmation.

--
You received this message because you are subscribed to a topic in the Google Groups "Membrane SOA Model" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/soa-model/2_sgGF5f9Go/unsubscribe.
To unsubscribe from this group and all its topics, send an email to soa-model+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/soa-model/5719C139.1070603%40predic8.de.
Reply all
Reply to author
Forward
0 new messages