473,699 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Invalid OperationExcept ion' occurred
in system.web.serv ices.dll

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

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

<System.Web.Ser vices.Protocols .SoapDocumentMe thodAttribute(" http://www.source.com/webservices/CreateSourceOrd er",
RequestNamespac e:="http://www.source.com/webservices/",
ResponseNamespa ce:="http://www.source.com/webservices/",
Use:=System.Web .Services.Descr iption.SoapBind ingUse.Literal,
ParameterStyle: =System.Web.Ser vices.Protocols .SoapParameterS tyle.Wrapped),
MimeAttachmentE xtension()> _
Public Function CreateSourceOrd er(ByVal xmlPO As String) As String
Dim results() As Object = Me.Invoke("Crea teSourceOrder", New
Object() {xmlPO})
Return CType(results(0 ), String)
End Function

BTW, the "MimeAttachment Extension()" 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 998
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******** ********@TK2MSF TNGP11.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
326
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
3323
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 is creating an instance of this class when it is called via SOAP. I don't seem to have access to the constructor method or any class variables... is this by design? Must all methods be static? Here is my sample code: This is a very dumbed...
1
1090
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
1694
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, but since I'm not an expect I cannot be sure. The vendor has provided me a url to the WSDL document for the soap service. Using the .Net WSDL utility, I generate a c# proxy class. When I'm trying to use the methods of the soap service, I get...
2
2313
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 if this request is from an external company. at the moment my method is returning the whole SOAP return message as a string. 2 questions please: 1. how do i just get the value of the node CLIENTCODE. this is the return parameter of my web...
0
1026
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 <typeselement and use basic types in the message <part>, all works fine. But if I try and declare a complextype in the <typeselement I get an error message stating unexpected element <schema>.
2
3010
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 goes like the following format (example): <?xml version="1.0" encoding="utf-8" ?>
0
969
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
1207
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 sent to the web service? To debug specific cases, the other party wants to see the XML that is being submitted. Any help is appreciated.
5
1018
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 experts shead some light into this dark area for me? Thanks always.
0
8631
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
9199
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...
0
9055
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8945
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
7787
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4641
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2366
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2016
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.