473,385 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Using SoapClient's non-WSDL Mode

Typically, when consuming a SOAP web services, I've had the WSDL URI
available to me and can easily instantiate the SoapClient with that
URI. I'm now in a position where I might have to engage a SOAP
service sans WSDL. I've looked at the documentation, so I can see
that this is possible, but I'm hoping someone provide a little more
information about the options available.

The documentation provides this syntax for instantiating the class
without WSDL:

$client = new SoapClient (
null,
array (
'location' ="http://localhost/soap.php",
'uri' ="http://test-uri/"
)
);

Can someone help clarify exactly what the location and uri options are
pointing to so I have some idea how to apply that to my system and/or
the external services system?

Thanks.

Rob
Sep 17 '08 #1
1 8250
On Sep 17, 10:07*am, Rob Wilkerson <r...@robwilkerson.orgwrote:
Can someone help clarify exactly what the location and uri options are
pointing to so I have some idea how to apply that to my system and/or
the external services system?
I should have added that I'm working ahead of this external system so
I don't have the benefit of trial and error. I'm trying to reach a
point where I'm as prepared as possible (including as much code as
possible) when the system comes online. Otherwise, I'd have done much
more legwork and would have at least played around more than I can in
this case.

Thanks again.
Sep 17 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Philipp Lenssen | last post by:
I'm getting the error message "Class 'SoapClient' not found" even though I tried to follow the steps described in the comments at <http://de2.php.net/manual/en/ref.soap.php>. All I'm trying to do...
1
by: aws.steve | last post by:
I am trying to get my first Soap based website to work on my Windows 2000 server with IIS 5. The code used to create the client is as follows: set SoapClient = CreateObject("MSSOAP.SoapClient")...
3
by: PaulF | last post by:
Is it possible to use a SoapClient derived class to send a message to a Web Service (eg a .asmx file)? It it is, does anyone have any code they could point me at that actually does this ! ...
1
by: Michael Herman \(Parallelspace/OpenCanal\) | last post by:
We're creating a Windows Service with the .NET Framework (.NET 1.1 and VS 2003) and have an obvious requirement to send commands and data to control the Windows Service. In the Windows Service,...
1
by: william | last post by:
Hi All, I have a web service developed by .NET, and I call it from vb script by createobject("MSSOAP.SOAPClient"). In my development environment, it's ok. But when I deploy it to other machine, it...
1
by: Sergei Riaguzov | last post by:
Hi, How can I catch errors produced by SOAP server with SoapClient? The first thing which comes in mind is eval() but maybe there is a better way? The server is sending some fault information...
3
by: Joshua Beall | last post by:
Hi All, I've got the following PHP code: $service = new SoapClient("http://www.webservicex.net/length.asmx? wsdl"); $result = $service->ChangeLengthUnit(10,"Inches","Centimeters");...
1
by: vyasanjali | last post by:
Hi I am trying to my site user to a other site api using SOAP client . But Every time its give uncatchable error. I am using nusoap class .But shows error that given below: Fatal error:...
0
by: Adam | last post by:
Hello everbody, does anyone know if there is a possiblity to give the SoapClient __setCookie() method an value which is transformed to array values? I debugged what cookies looks like when you get...
0
by: vendejp | last post by:
I intermittently get the following error when calling a soap method: "HTTP" - Error Fetching http headers. Its really hit or miss... sometimes it works sometimes not. The exception doesn't...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.