Hi,
We have a problem with a Real Time data service that we are using as a web service. We did an upgrade to 3.2 recently and cannot get the web service to respond correctly two times in a row. Our first request to the service works correctly but the second request returns but with an empty response.
Request 1:
-
INPUT
soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gmb="https://champions.generalmills.com/GMBFS/GMBFS_Customers/">
<soapenv:Header/>
<soapenv:Body>
<gmb:AddressSuggestIn>
<gmb:cust_name>T R AUTO TRUCK PLAZA</gmb:cust_name>
<gmb:cust_ty_id>1</gmb:cust_ty_id>
<gmb:address1>1217 DEEP SPRINGS RD</gmb:address1>
<gmb:address2></gmb:address2>
<gmb:city>DANDRIDGE</gmb:city>
<gmb:state>TN</gmb:state>
<gmb:zip>37725</gmb:zip>
</gmb:AddressSuggestIn>
</soapenv:Body>
</soapenv:Envelope>
Successful output
Successful Output:
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
https://champions.generalmills.com/GMBFS/GMBFS_Customers/
ierpt1\BOBJDS_D\DC_BOTG\BATCH\XSD_DCBOTG_ADDRESS_SUGGEST_OUT.xsd" xmlns:ns1="https://champions.generalmills.com/GMBFS/GMBFS_Customers/">
<ns1:cust_ty_id>1</ns1:cust_ty_id>
<ns1:address_item>
<ns1:cust_id>728803</ns1:cust_id>
<ns1:cust_nm>T R AUTO TRUCK PLAZA</ns1:cust_nm>
<ns1:street_line1_addr>1217 DEEP SPRINGS RD</ns1:street_line1_addr>
<ns1:street_line2_addr/>
<ns1:cty_nm>DANDRIDGE</ns1:cty_nm>
<ns1:state_cd>TN</ns1:state_cd>
<ns1:postal_cd>37725-5907</ns1:postal_cd>
<ns1:tele_phn_nbr_txt/>
<ns1:match_wt_nbr>100</ns1:match_wt_nbr>
</ns1:address_item>
<ns1:address_item>
<ns1:cust_id>728805</ns1:cust_id>
<ns1:cust_nm>T R AUTO TRUCK PLAZA</ns1:cust_nm>
<ns1:street_line1_addr>1217 DEEP SPRINGS RD</ns1:street_line1_addr>
<ns1:street_line2_addr/>
<ns1:cty_nm>DANDRIDGE</ns1:cty_nm>
<ns1:state_cd>TN</ns1:state_cd>
<ns1:postal_cd>37725-5907</ns1:postal_cd>
<ns1:tele_phn_nbr_txt/>
<ns1:match_wt_nbr>100</ns1:match_wt_nbr>
</ns1:address_item>
</ns1:AddressSuggestOut>
</soapenv:Body>
</soapenv:Envelope>
Request 2 :
When we run the second time it's giving a bad output
Bad Output:
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"> >
</ns1:AddressSuggestOut>
</soapenv:Body></soapenv:Envelope>
Weu2019re wondering if there were any changes people know of that would cause first request to prevent any subsequent requests from functioning correctly. Also weu2019re wondering if there is a way to better trace our problem, weu2019ve enabled the trace on the real time service in the Management Console but the trace log has way too much in it to comprehend.
XSD Input File code
<?xml version="1.0" encoding="UTF-8"?>
http://www.w3.org/2001/XMLSchema" xmlns=" https://champions.generalmills.com/GMBFS/GMBFS_Customers/"
targetNamespace="https://champions.generalmills.com/GMBFS/GMBFS_Customers/"
elementFormDefault="qualified">
<xsd:annotation>
<xsd:documentation xml:lang="en">
XML Schema generated by Data Services
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType name="DIType-varchar-10">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DIType-varchar-30">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="30"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DIType-varchar-50">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DIType-varchar-60">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="60"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="AddressSuggestIn" >
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="cust_name" />
<xsd:element ref="cust_ty_id" />
<xsd:element ref="address1" />
<xsd:element ref="address2" />
<xsd:element ref="city" />
<xsd:element ref="state" />
<xsd:element ref="zip" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="cust_name" type = "DIType-varchar-50"/>
<xsd:element name="cust_ty_id" type = "DIType-varchar-10"/>
<xsd:element name="address1" type = "DIType-varchar-60"/>
<xsd:element name="address2" type = "DIType-varchar-60"/>
<xsd:element name="city" type = "DIType-varchar-30"/>
<xsd:element name="state" type = "DIType-varchar-30"/>
<xsd:element name="zip" type = "DIType-varchar-10"/>
</xsd:schema>
Waiting for your positive reponse
Regards,
Anil
Edited by: AnilKumarDoddi on Jan 29, 2010 9:15 PM