473,588 Members | 2,554 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to read an xml document from a web method parameter in a php soap server

hi,
i'm sure (i hope!) there's a simple way of doing this, so even a url to
example would be fine...

i have a wsdl generated by .net
i use this wsdl to implement a webservice in php
i have a web method like action(XmlDocum ent doc)
from a .net client i want to do something like soap.action(doc )

on the php side i have something like
function action($paramet er)
{
$doc = $parameter->doc;
}

the class for $parameter is fully defined with the same name as that
defined in the wsdl, however...

both $parameter and $doc have class "std class", which means i cannot
process/save $doc as a DOMDocument.

i've also tried $classmap without success.

i'm new to php so any suggestions gratefully received.

many thanks,
mike.

Nov 3 '06 #1
0 1156

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

Similar topics

0
1452
by: sarah chang | last post by:
I want to implement a variety of SOAP methods (with Apache SOAP) using just one method of one Java class, with the SOAP method name passed as a parameter to the Java method and the SOAP parameters passed in as an array of Strings. For example, the method could look like this: public static void executeSoapMethod (String soapMethodName, String soapParams) {
0
7449
by: Oliver Hirschi | last post by:
Hi, I am really confused. I try to call a soap-method on a server with one parameter and I like to get the return-parameter of this method, but I get ever the following exception by invoking the call: -------------------------------------- No Deserializer found to deserialize a 'http://schemas.xmlsoap.org/soap/encoding/:string' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
4
1598
by: Razzie | last post by:
Hey all, I have a SOAP envelope with which I try to communicate to a webservice. Everything is fine, but when I try to access a parameter of the webservice method, I get the Object reference not set to an instance of the object error. This is the method: public string query(string type, string someValues)
0
1087
by: Greg Merideth | last post by:
I ran into a small snag in passing in a class as a parameter to a web method from our calling code. Now, we routinely pass *back* as a return value from a method, a class reference and that works just fine, it just seems we can't pass *to* a web method a class as a parameter. Here's what I mean webserver -> monitor.asmx
0
1583
by: Alexander Jagl | last post by:
Hi! I'm new to asp and asp.net What I wan't to achieve: Calling a soap-method from an asp-page. I've created a virtual directory and a virual name with a soap method linked to an SQL Server stored procedure using the IIS Virtual Directory Management for SQLXML 3.0
25
2946
by: MeNotHome | last post by:
I am automating the navigation of a website. When I reach the end, it changes to xml. So my axwebbrowser1 has a bunch of xml data in it. So here is what I am trying to do Dim xmlText As String Dim doc As New XmlDocument() Dim myElem As XmlElement
2
6744
by: Phil Lee | last post by:
What's the general opinion on which of these to choose? I see that the SoapDocumentServiceAttribute defaults to literal/wrapped, but this article - http://msdn.microsoft.com/msdnmag/issues/05/06/ServiceStation/ - says "it probably makes the most sense to use document/literal/bare". In a BasicProfile1_1 compliant web service should one definitely be chosen over the other?
3
1466
by: Hennesey | last post by:
Hello all, I am developing a Visual Studio .Net 2005 application. This application consumes a JAVA web service from Axis 1.3. When I call a method of the web service I get the following error message: {"Error in XML-Document (1,393)."} System.InvalidOperationException: {"Error in XML-Dokument (1,393)."} Data: {System.Collections.ListDictionaryInternal} HelpLink: Nothing
2
5629
by: Ben Joyce | last post by:
Hi all. I'm confused as to what the best or expected approch is to Web Service design under .Net, mainly with regards to Methods and Parameters. This is a bit awkward to explain so please bear with me. I have a web service that needs to be accessed via GET, POST and SOAP. The method expects an interger, a CustomerId for example, does some processing and returns an error codeor 0 if no errors occurred.
0
7857
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8220
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7981
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8222
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5396
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3846
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2367
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1457
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1194
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.