web stats
Mirth Community - View Single Post - Receiving SOAP Envelope in Custom Web Service
View Single Post
  #3  
Old 01-30-2013, 02:26 AM
mlizana mlizana is offline
Mirth Newb
 
Join Date: Jun 2011
Location: Mataró (Barcelona)
Posts: 24
mlizana is on a distinguished road
Default

Thanks Narupley for your response, this is what I get in wireshark:

Code:
<?xml version="1.0" ?><soapenv:Envelope xmlns:cci="http://CCI.Servicios/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body>
      <cci:MA44>
         <cci:MensEntrada><hola xmlns="">lalalalla</hola></cci:MensEntrada>
      </cci:MA44>
   </soapenv:Body></soapenv:Envelope>

And this is the WSDL:

Code:
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:s0="http://CCI.Servicios/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
targetNamespace="http://CCI.Servicios/">
	<types>
		<s:schema elementFormDefault="qualified" targetNamespace="http://CCI.Servicios/">
			<s:element name="MA44">
				<s:complexType>
					<s:sequence>
						<s:element name="MensEntrada">
							<s:complexType mixed="true">
								<s:choice maxOccurs="unbounded" minOccurs="0">
									<s:any processContents="lax"/>
								</s:choice>
							</s:complexType>
						</s:element>
					</s:sequence>
				</s:complexType>
			</s:element>
			<s:element name="MA44Response">
				<s:complexType>
					<s:sequence>
						<s:element name="MensSalida">
							<s:complexType mixed="true">
								<s:choice maxOccurs="unbounded" minOccurs="0">
									<s:any processContents="lax"/>
								</s:choice>
							</s:complexType>
						</s:element>
					</s:sequence>
				</s:complexType>
			</s:element>
		</s:schema>
	</types>
	<message name="MA44SoapIn">
		<part name="parameters" element="s0:MA44"/>
	</message>
	<message name="MA44SoapOut">
		<part name="parameters" element="s0:MA44Response"/>
	</message>
	<portType name="MA44ServiceSoap">
		<operation name="MA44">
			<input message="s0:MA44SoapIn"/>
			<output message="s0:MA44SoapOut"/>
		</operation>
	</portType>
	<binding name="MA44ServiceSoap" type="s0:MA44ServiceSoap">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
		<operation name="MA44">
			<soap:operation soapAction="http://CCI.Servicios/MA44" style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
	</binding>
	<service name="MA44Service">
		<port name="MA44ServiceSoap" binding="s0:MA44ServiceSoap">
			<soap:address location="http://[servidor]:[puerto]/[plataformaInterfaces]/[NombreServicio]" />
		</port>
	</service>
</definitions>
Reply With Quote