Histórico da Página
...
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<s:element name="RealizarConsultaSQLResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="RealizarConsultaSQLResultRealizarConsultaSQLDataTableResponse"> <s:complexType> <s:sequence> <s:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax" /> <s:any minOccurs="1" namespace="urn:schemas-microsoft-com:xml-diffgram-v1" processContents="lax" /> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> ... <s:element name="RealizarConsultaSQLAuthResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="RealizarConsultaSQLAuthResultRealizarConsultaSQLDataTableAuthResponse"> <s:complexType> <s:sequence> <s:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax" /> <s:any minOccurs="1" namespace="urn:schemas-microsoft-com:xml-diffgram-v1" processContents="lax" /> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> |
Essa situação ocorre em dois elementos do arquivo WSDL, o "RealizarConsultaSQLResponseRealizarConsultaSQLDataTableResponse" e o "RealizarConsultaSQLAuthResponseRealizarConsultaSQLDataTableAuthResponse".
Para resolver esse conflito, pode ser utilizado o arquivo de bind abaixo :
Bloco de código | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<?xml version="1.0" encoding="utf-8"?> <jxb:bindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jxb:extensionBindingPrefixes="xjc"> <jxb:bindings schemaLocation="http://localhost:8080/tbc/wsConsultaSQL.asmx?WSDL#types1" node="/xsd:schema"> <jxb:bindings node="//xsd:element[@name='RealizarConsultaSQLResponseRealizarConsultaSQLDataTableResponse']//xsd:sequence//xsd:any[position()=2]"> <jxb:property name="any2"/> </jxb:bindings> <jxb:bindings node="//xsd:element[@name='RealizarConsultaSQLAuthResponseRealizarConsultaSQLDataTableAuthResponse']//xsd:sequence//xsd:any[position()=2]"> <jxb:property name="any2"/> </jxb:bindings> </jxb:bindings> </jxb:bindings> |
...
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas