Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 28th, 2008, 04:47 AM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help in consuming Java Webservice using C# 2.0

Error:

Client found response content type of 'multipart/related;type="application/xop+xml";boundary="uuid:44b8d14c-dcbb-4024-996d-078c5985a152";start-info="text/xml", but expected "text/xml"...



Above error occur when i try consume Java Webservice using C# 2.0 winform. I had try update the version of my webservice to WSE 3.0(which i set my appconfig with <mtom clientMode="On" serverMode="always" /> and also check a field "Enabled This project for Webservice enhancements"). But still no luck to get it correctly. This is my code:



   private void button1_Click(object sender, EventArgs e)
        {
            WsGetInfo.ServiceImplService ser = new Viewer.WsGetInfo.ServiceImplService();

            ser.FindDocsAsync("S1234567A", "ZTMPNPDDSS01");
            ser.FindDocsCompleted += new Viewer.WsGetInfo.FindDocsCompletedEventHandler(ser _FindDocsCompleted);
        }

      private void ser_FindDocsCompleted(object sender, Viewer.WsGetInfo.FindDocsCompletedEventArgs e)
        {
           //Exception throw here
        }



This web service will return me text+binary image.



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
consuming a webservice aklilu Classic ASP XML 0 May 13th, 2008 01:55 PM
consuming events from axWebBrowser roy VS.NET 2002/2003 3 March 9th, 2007 04:08 AM
Consuming .NET webservice in VB 6.0 webnet .NET Web Services 0 February 11th, 2007 09:37 AM
Consuming Web Service edgtr .NET Web Services 0 November 1st, 2006 03:50 PM
consuming .net crystal report webservice in java sunitha_jaan Crystal Reports 0 December 17th, 2004 06:50 AM



All times are GMT -4. The time now is 10:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.