Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
|
.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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2008, 04:47 AM
Registered User
 
Join Date: Aug 2008
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.








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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.