473,322 Members | 1,347 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,322 software developers and data experts.

SOAP - Method Not Implemented?

179 100+
I'm trying to extend an existing soap webservice by adding in a couple of new methods, however I'm having a problem in getting the client to run the method calls and I'm not sure why.

I've not had much soap experience so I've tried to replicate what is already working correctly, but presently I'm not sure where to look, or go about resolving the issue...

This is what I've got (just a note, Client code is C#, Server code is C++)

Client

Expand|Select|Wrap|Line Numbers
  1. depot d = rfc.getQuickestDepot(s); //throws SoapHeaderException saying method not implemented.
in the auto generated file (using wsdl)

Expand|Select|Wrap|Line Numbers
  1.  [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="urn:routefinda", ResponseNamespace="urn:routefinda", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  2.     [return: System.Xml.Serialization.XmlElementAttribute("Result")]
  3.     public depot getQuickestDepot(xyCoords startnode) {
  4.         object[] results = this.Invoke("getQuickestDepot", new object[] {
  5.                     startnode});
  6.         return ((depot)(results[0]));
  7.     }
Then my Server...

Expand|Select|Wrap|Line Numbers
  1. int ns__getQuickestDepot(struct soap *soap, struct ns__xyCoords a, struct ns__getQuickestDepotResponse *r)
  2. {
  3.  ...
  4. }
  5.  
and the header file that generated all the stub files

Expand|Select|Wrap|Line Numbers
  1. struct ns__getQuickestDepotResponse {struct ns__depot Result;};
  2. int ns__getQuickestDepot( struct ns__xyCoords startnode, 
  3.                           struct ns__getQuickestDepotResponse *r);

I'm not sure if this is enough to go on, I don't quite understand soap enough to know exactly what is defined where but can post more code if neccessary. Any help would be appreciated.

Thanks.
Jul 23 '08 #1
4 2747
IanWright
179 100+
I'm not quite sure how but I believe I've fixed this now... lack of UK posters makes me have to work harder to come up with solutions unless I leave the problem over night!

Thanks anyway....
Jul 23 '08 #2
I'm not quite sure how but I believe I've fixed this now... lack of UK posters makes me have to work harder to come up with solutions unless I leave the problem over night!

Thanks anyway....
Can you explain how did you do, I have same problem here (not same language) but I can find a way to resolve mine ...

Thanks in advance

--
regards
Greg
Jul 29 '08 #3
IanWright
179 100+
Can you explain how did you do, I have same problem here (not same language) but I can find a way to resolve mine ...

Thanks in advance

--
regards
Greg
Greg,

I believe the actual reason was the header file I was using was incorrect, so I was pointing to the wrong one, and not one most recently greated by the soap2cpp output... so it's probably not much help I'm afraid.
Jul 29 '08 #4
Greg,

I believe the actual reason was the header file I was using was incorrect, so I was pointing to the wrong one, and not one most recently greated by the soap2cpp output... so it's probably not much help I'm afraid.
huhu, ok, Thanks anyway =)

--
regards
Greg
Jul 29 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Artur | last post by:
Hi Newsgroup, im currently working on programming a asp.net application consuming an Webservice hosted on Apache/Axis. I have generated WSDL and Proxy classes from VisualStudio.net. But when...
4
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap...
3
by: techieTex | last post by:
I have a simple SOAP Extension which does nothing but to log the SOAP message to a file. This works fine when I use the webservice by adding a webreference and using the class. However my...
31
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our...
1
by: Heena Patel | last post by:
Hi, I have a implemented a web service interface that has a webmethod accepting xml, but I need to also have post option available to my webservice. I understand if a client Posts a SOAP...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
4
by: Joseph Geretz | last post by:
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code...
4
by: gcharbon | last post by:
Hi community, I have a problem with a Soap client written in php. I have a local server (coded in c and a client in c too, it works fine), but i want to test client in php, and i have an error...
1
by: monsalvo | last post by:
Hello. I've just coded a VBScript SOAP Client to send requests to a web service in our intranet. It's working and we'll use it in a DTS cuz we have not implemented SQL Server 2005 yet. Anyway. I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.