Sure. Here's the SOAP request.<?xml version="1.0" encoding="UTF-8"?> | | <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" | xmlns:xsd="http://www.w3.org/2001/XMLSchema" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" | xmlns:ns4="http://192.168.110.11:8081/thirdapp/thirdappEJB/Carrier" | SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> | <SOAP-ENV:Body> | | <ns4:updateCarrier> | <CarrierValue_1 xsi:type="ns4:CarrierValue"> | <carrier_id xsi:type="xsd:string">1</carrier_id> | <carrier_name xsi:type="xsd:string">poop0.45616600 1120766530</carrier_name> | <primaryKey xsi:type="xsd:string">1</primaryKey></CarrierValue_1></ns4:updateCarrier> | </SOAP-ENV:Body> | </SOAP-ENV:Envelope>
In looking at that, I believe my initial question is answered -- I'm sending over a type "xsd:string", which obviously isn't an Integer. I tried explicitly casting the Integers fields from the default string type to (int) and the query worked: <ns4:updateCarrier> | <CarrierValue_1 xsi:type="ns4:CarrierValue"> | <carrier_id xsi:type="xsd:int">1</carrier_id> | | <carrier_name xsi:type="xsd:string">poop0.38294000 1120766835</carrier_name> | <primaryKey xsi:type="xsd:int">1</primaryKey></CarrierValue_1></ns4:updateCarrier> I was using strings in the first place because that was what had been returned by the Service in a previous operation: getCarrier(), returning CarrierValue. Let me re-phrase my problem. One of my operations is returning a ComplexType comprised of strings, or more likely, untyped data. (PHP defaults to String type). Is there anything in my configuration that would explain why the getCarrier operation isn't returning Object contents of the right type? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884092#3884092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884092 ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
