473,395 Members | 2,222 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,395 software developers and data experts.

WSDL / SOAP function namespaces

Hi - apologies in advance if this is the wrong list for the following
php/soap related question; would appreciate a pointer to the right
group.

The quick way to phrase my question is - is the SOAP function
namespace flattened?

In other words, I have a single WSDL file with something like the
following:

<portType name="PTClassA"... </portType>
<portType name="PTClassB"... </portType>

<binding name='BindingA' type='tns:PTClassA">
<operation name="getFoo"... </operation>
<operation name="getBar"... </operation>
</binding>
<binding name='BindingB' type='tns:PTClassB">
<operation name="getFoo"... </operation>
<operation name="getBar"... </operation>
</binding>

The point is that the namespaces for each are different, but the
function names (getFoo, getBar) are the same. Is this allowed? On
the client and server side, I have getFoo/getBar inside their
respective ClassA / ClassB namespaces, but the output from
__getFunctions on the client side is simply:

array(4) {
[0]=>
string(33) "record_t getFoo(record_t $params)"
[1]=>
string(33) "struct_t getBar(struct_t $params)"
[2]=>
string(38) "record_t getFoo(record_t $params)"
[3]=>
string(38) "struct_t getBar(struct_t $params)"
}

which means the correct function references are being loaded, but it
looks like the classnames (the first getFoo / getBar are in class
ClassA, the second pair in class ClassB) are not retained. I seem to
have no way to tell the SoapClient to call ClassB::getFoo.

I would appreciate any pointers on this; worst-case scenario I have to
assume a flat namespace and have unique function names for everything,
which is not ideal ...

tia,
matt
Jun 2 '08 #1
0 995

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

Similar topics

2
by: Carmit | last post by:
Hi, I'm trying to build a proxy for this webservice: http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/EndTransactionLLSRQ.wsdl I'm getting the following error: Error: Unable to import...
0
by: saish | last post by:
Hello I am new to vb.net webservice. My requirement is to design a VB.net web service which will send and receive xml documents. The xml document send and received would be a very complex .xsd...
2
by: pshvarts | last post by:
(I'm new in SOAP) I get some wsdl file (from apache service ). I tried creating SOAP client with .NET - trying to add Web Reference and get error like: "Custom tool error: Unable to import...
2
by: Danny Gagne | last post by:
I'm currently working an .net application (I can use 1.1 or 2.0 if needed) that needs to read a wsdl file and generate another piece of code that can use it. I'm encountering a problem where I...
1
by: E11 | last post by:
Hi all, I am composing a SOAP request message from a WSDL definition, and it seems that my concept of namespaces is wrong. The "types" section of the WSDL definition is as follows: ...
3
by: jparulan | last post by:
Hi All, I'm using SOAP3.0. I was able to successfully call a WSDL file and get a value properly. But when the WSDL changed to have a MULTIPLE <element name> it was failing. This code works...
1
by: HYPERVIEW | last post by:
I am generating a web service from an application called Remedy. It has a sort of wizard that is responsible for creating the web service. It produces the following WDSL file that is properly...
0
by: StephenLiversidge | last post by:
Hi im having a problem with my wsdl, It generates perfectly and I can create the objects needed from the contract perfectly. The problem comes when I try to pass the object back into the...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.