24 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for cambraydesign

I'm trying to change this soap response into php variables and failing! I am trying this like: $return = $response->DownloadDataByUserStringResult->UserId; But this doesn't work $options = array( 'soap_version'=>SOAP_1_1, 'exceptions'=>true, 'trace'=>1, 'cache_wsdl'=>WSDL_CACHE_NONE ); $client = new SoapClient('http://client.Service.asmx?WSDL', $options); } catch (Exception $e) { echo "<h2>Exception Error!</h2>"; echo $e->getMessage(); } $params = …

Member Avatar for cambraydesign
0
2K
Member Avatar for Tinnin

Hi All, I'm trying to implement an experian bank account checking facility on the systems at work. I'm trying to do this using php and Soap. This is my first time using Soap so I'm not entirely sure if I'm doing it correct. Here is my code: <?php $options = …

Member Avatar for Nicolás
0
7K
Member Avatar for donz365

Hi, I am working on a wbsite for a training centre. I am querying a web service for the list of their courses. There are three parametres in the query: centre, coursetype and courselocation. When querying it directly or using SoapUI it can be queried using 1, 2, 3 or …

Member Avatar for donz365
0
913
Member Avatar for DiTeN

Hello friends, i am having a trouble, and the server is throwing me this: *Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object hasn't 'Sdt_coleccionretornoitemsagrupacion' property in /var/www/sitios/webservices/Diego.php:129 Stack trace: #0 /var/www/sitios/webservices/Diego.php(129): SoapClient->__soapCall('Execute', Array) #1 {main} thrown in /var/www/sitios/webservices/Diego.php on line 129 * I have this code: echo 'SEGUNDO XML------------------------------' …

Member Avatar for DiTeN
0
291
Member Avatar for rayidi

I'm dealing with a SOAP client response for a flight booking application, I successfully got the response, See the response below: <arzoo__response> <Response__Depart> <OriginDestinationOptions> <OriginDestinationOption> <FareDetails> <ChargeableFares> <ActualBaseFare>4850</ActualBaseFare> <Tax>4267</Tax> <STax>31</STax> <SCharge>0</SCharge> <TDiscount>0</TDiscount> <TPartnerCommission>0</TPartnerCommission> </ChargeableFares> <NonchargeableFares> <TCharge>0</TCharge> <TMarkup>0</TMarkup> <TSdiscount>0</TSdiscount> </NonchargeableFares> </FareDetails> <FlightSegments> <FlightSegment> <AirEquipType>321</AirEquipType> <ArrivalAirportCode>DEL</ArrivalAirportCode> <ArrivalDateTime>2013-05-20T08:00:00</ArrivalDateTime> <DepartureAirportCode>BOM</DepartureAirportCode> <DepartureDateTime>2013-05-20T06:00:00</DepartureDateTime> <FlightNumber>601</FlightNumber> <OperatingAirlineCode>AI</OperatingAirlineCode> <OperatingAirlineFlightNumber>601</OperatingAirlineFlightNumber> …

Member Avatar for diafol
0
8K
Member Avatar for rayidi

I'm curremtly working on a project "Flight search" with SOAP and PHP. I'm new to this SOAP Technology. I've to send the XML over POST Request and get the response: <Request> <Origin>BOM</Origin> <Destination>DEL</Destination> <DepartDate>2013-05-20</DepartDate> <ReturnDate>2013-05-21</ReturnDate> <AdultPax>1</AdultPax> <ChildPax>0</ChildPax> <InfantPax>0</InfantPax> <Currency>INR</Currency> <Clientid>*********</Clientid> <Clientpassword>**************************</Clientpassword> <Clienttype>ArzooFWS1.1</Clienttype> <Preferredclass>E</Preferredclass> <mode>ONE</mode> <PreferredAirline>AI</PreferredAirline> </Request> to the URL: > …

Member Avatar for rayidi
0
3K
Member Avatar for AARTI SHRIVAS

the interviwever ask me one more question about soap in php can any budy tell me what is this i am really don't know about it?

Member Avatar for AARTI SHRIVAS
0
290
Member Avatar for danielgr

I need to consume a web service in VS 2010 using VB.NET that gives a result of a class type. I've already added the reference and called it with: Dim mag As New Magento.ecommerce I can create a variable as the class: Dim Stockcodes As New List(Of Magento.clsStockcode) I just …

Member Avatar for danielgr
0
295
Member Avatar for subrata_ushasi

Hi all , I have a wevservice link say http://abc.com/wscom/MKWebService.rem from where I am trying to return value giving some parameters . The method and parameters are given below. method : GetInfo Parameters: string LicenseID string password Return Value: struct AnswerInt Now I have two xml files request.xml and response.xml …

Member Avatar for pritaeas
0
333
Member Avatar for svilla

I have this PHP program: <?php echo 'Start of Soap Request<br />'; $client = new SoapClient("http://192.168.201.67:10010/web/services/getItemDesc?wsdl"); print_r($client); echo '<br />Start of Var_Dump<br />'; var_dump($client); echo '<br />Result Print<br />'; $result = $client->testws(array("PEITEM" => "1020000000", "PEMSG" =>" ")); print_r($result); ?> That access a web service on my iSeries. I can get …

Member Avatar for maba001
0
1K
Member Avatar for Dendei

Hi, im wondering how i get this to work? <?php $client = new SoapClient("http://localhost:8731/phpwcf/?wsdl"); var_dump($client->KundLandKodAlternativ()); $response = $client->KundLandKodAlternativ(); $array1 = $response->KundLandKodAlternativResult->WCFString1; $array2 = $response->KundLandKodAlternativResult->WCFReturnString; echo count($array1); echo count($array2); ?> the line `var_dump($client->KundLandKodAlternativ());` gives object(stdClass)[2] public 'KundLandKodAlternativResult' => object(stdClass)[3] public 'WCFReturnString' => object(stdClass)[4] public 'string' => array (size=4) ... public 'WCFString1' …

Member Avatar for Dendei
0
259
Member Avatar for Dendei

hello! i have a function in my C# code that returns a string array. and when i test my function in WCF Test Client i get Name Value Type (return) length=4 System.String[] [0] "DE" System.String [1] "DK" System.String [2] "NO" System.String [3] "SE" System.String **code if i do var_dump on …

Member Avatar for Dendei
0
597
Member Avatar for Dendei

Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to …

Member Avatar for adam.adamski.96155
0
704
Member Avatar for svilla

I have a Web Service I setup on the iSeries. It works when using SOAPUI and it works from the Built in test facility in the Native Web server. But when I try to access it form the following PHP program it fails to return any data. I am obviously …

0
101
Member Avatar for BenzZz

Hi, I'm creating a web app that downloads sms messages from an M2M server using a Soap Client. The problem I am getting is that the SoapClient is not being found when i do this: $m_obj_client = new SoapClient($m_wsdl); The error i receive is: Fatal error: Class 'SoapClient' not found …

Member Avatar for BenzZz
0
138
Member Avatar for Venom Rush

Hi I need to manipulate a soap call before it's sent off to the soap server. Currently my soap call is constructed as follows: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.xxxxxxx.co.za/" 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/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:SubmitStringLead> <xmlLead xsi:type="xsd:string"> <strXml> <Lead> <General> <dealer>419</dealer> <source ref="1334923054">randomstring</source> <enquiry>1</enquiry> <subtype>4</subtype> <comment /> </General> <Prospect> …

Member Avatar for Venom Rush
0
2K
Member Avatar for ppetree

Hi All! I'm apparently doing something very wrong here... I can't get my soap client to send the security certificate which a valid .pem file and because of that the subsequent calls are failing. What do I have to do to get the soap client to send the pem file? …

Member Avatar for ppetree
0
3K
Member Avatar for jimbennett57

I'm a newbie to SOAP, and have been searching for an answer with no luck. Hopefully someone can help me out here. I have a VB script which successfully retrieves a SOAP response (xmlhttp.responseText). I can see the response with WScript.Echo, save it in a variable or can save it …

Member Avatar for jimbennett57
0
569
Member Avatar for zeuz

Hi everyone My intention is to enable NTLM authentification when using the native PHP SOAP client, Most of the code is copied from an php.net manual example and it is said to be working. I'm trying to override the __doRequest function in the SoapClient class and let it use cURL. …

0
133
Member Avatar for Koibu0

Forgive my ignorance with such matters, but I have what is probably a simple issue that I can't seem to resolve on my own. I'm getting this error when sending a request to the SOAP server [CODE]org.xml.sax.SAXParseException: Content is not allowed in trailing section.[/CODE] I've checked the end of all …

0
108
Member Avatar for leiger

I have imported the Apache XML-RPC jar files, and got them working (has taken me all day to figure out how to get it working - so I'm kind of frustrated at the moment ;D) ... but that used the execute(..) method which requires two parameters ... there was no …

Member Avatar for leiger
0
2K
Member Avatar for hgbreton

I need to create a SOAP wrapper of the form [CODE=xml] <SOAP-ENV:Envelope xmnls=........><SOAP-ENV:Body></SOAP-ENV:Body></SOAP-ENV:Envelope> [/CODE] My C# code to do this is as follows [CODE=C#] XmlElement soapEnvelope = document.CreateElement("SOAPENV", "Envelope", "http://schemas.xmlsoap.org/soap/envelope"); XmlElement soapBody = document.CreateElement("SOAPENV", "Body", "http://schemas.xmlsoap.org/soap/envelope"); [/CODE] This works fine for the Envelope part but then adds a spurious xmnls …

Member Avatar for kvprajapati
0
406
Member Avatar for amby

Hi, I have added web reference to my web space but dont know how to call its method from my code behind .aspx.cs file. can somebody please guide me in this matter. Thanks

0
96
Member Avatar for Damon88

I am developing a application in which i need to get images from a search engine. there are many choices to do that google,yahoo, bing etc. I chose bing simply because microsoft provides tight integration with bing and it offers more functionality to developers. So after searching some more i …

Member Avatar for Damon88
0
668

The End.