473,322 Members | 1,690 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.

Web Services/SOAP(I think) question...

I'm trying to test a web service that I wrote and I'm getting this
exception:

An unhandled exception of type 'System.InvalidOperationException' occurred
in system.web.services.dll

Additional information: Client found response content type of '', but
expected 'text/xml'.

The Studio points the error to be in "Web References\localhost\Reference.vb"
at the "Dim results()..." line

<System.Web.Services.Protocols.SoapDocumentMethodA ttribute("http://www.source.com/webservices/CreateSourceOrder",
RequestNamespace:="http://www.source.com/webservices/",
ResponseNamespace:="http://www.source.com/webservices/",
Use:=System.Web.Services.Description.SoapBindingUs e.Literal,
ParameterStyle:=System.Web.Services.Protocols.Soap ParameterStyle.Wrapped),
MimeAttachmentExtension()> _
Public Function CreateSourceOrder(ByVal xmlPO As String) As String
Dim results() As Object = Me.Invoke("CreateSourceOrder", New
Object() {xmlPO})
Return CType(results(0), String)
End Function

BTW, the "MimeAttachmentExtension()" is part of a 3rd-party product called
Alotsoft MIME SOAP with Attachments Extensions.

Anyone got any ideas?? TIA!

--
TFWBWY...A
Feb 9 '06 #1
2 990
Bryan,

As you use a thirth party component, than I have seen that it is as to seek
a neeldle in a haystack to find an answer here in these dotnet newsgroups.

Almost all advices ends than in "why don't you contact the maker of that
3-rd party product".

Therefore I do it direct.

Cor
Feb 10 '06 #2
A decent night's rest will often do wonders for your perspective, as it did
for mine. I went back over the code and found the problem--part typo and
part intelli-sense. Thanx anyway!

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Bryan,

As you use a thirth party component, than I have seen that it is as to
seek a neeldle in a haystack to find an answer here in these dotnet
newsgroups.

Almost all advices ends than in "why don't you contact the maker of that
3-rd party product".

Therefore I do it direct.

Cor

Feb 10 '06 #3

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

Similar topics

2
by: Frazer | last post by:
hi, if my webmethod fails (eg database server is down) how do i send this message back to the caller of the web method. thanx
8
by: Piro | last post by:
I have a class that I want to make accessible to a web service. This class does some work in its constructor method and sets some class variables in its various methods. The problem I am having...
1
by: Dacuna | last post by:
Can a Web Service return a dataset? If so, what are the limitations of a Web Service when you compare it to a DCOM DLL? -- Thank you for your help
7
by: Brian P | last post by:
I am working on a new program that uses a SOAP interface. I have written a few of these before, but this time it is giving me trouble. I suspect there is a problem with on the SOAP handler side,...
2
by: Wee Bubba | last post by:
i have created a web service with one method which returns a code. i am currently trying to access the return value of this method through a page which has not got the proxy.dll referenced. i.e. as...
0
by: AndyW | last post by:
Hey folks, I am using PHP5 in the latest xampp distro to write a proof of concept soap application with wsdl and cannot get it to recognise the <types> element. If I comment out the...
2
by: lallous | last post by:
Hello, I am new to webservices internals and I used the web service wizard to generate the webservice class and appropriate objects. After issueing a request, I noticed that the SOAP message...
0
by: paristhedog | last post by:
I need to create a request with PEAR SOAP with a repeat element. Such as: <items> <item>1</item> <item>2</item> </items> Any help appreciated.
4
by: =?Utf-8?B?Um9iIE1pbGxtYW4=?= | last post by:
I am developing a C# client app using VS 2008 that consumes a 3rd party web service. My question is how/where in my IDE/Debugging session can I visually see the actual XML message that is being...
5
by: CSharper | last post by:
I have an asp page (please don't ask me why), I would like to consume a .net web services. What is the best way to consume the web service? Is it using com component or using vbscript? Could the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.