Bug 30793 - SOAP version mismatch
Summary: SOAP version mismatch
Status: CONFIRMED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Web Services ()
Version: 5.8
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-06-04 10:06 UTC by Andrew
Modified: 2015-07-07 07:56 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 30793 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Andrew 2015-06-04 10:06:21 UTC
Hi, 
Im getting such message when im running my program: SOAP version mismatch. Namespace 'http://schemas.xmlsoap.org/wsdl/' is not supported in this runtime profile. 

I have web reference to https://trans.worldpay.us/Web/services/TransactionService?wsdl file,  invoking any method below:
TransactionSOAPBindingImplService bind =  new TransactionSOAPBindingImplService ("https://trans.worldpay.us/Web/services/TransactionService?wsdl");
			bind.SoapVersion = SoapProtocolVersion.Soap11; //try SoapProtocolVersion.Soap12 still don't work
			CreditCardInfo ccinfo = new CreditCardInfo();
			ProcessResult pResult = new ProcessResult();
			ccinfo.acctid = "MPNAB";
			ccinfo.subid = "LCATM";
			ccinfo.merchantpin = "1234567890";
			//ccinfo.acctid = "MPNAB";
			//ccinfo.subid = "LCATM";
			//ccinfo.merchantpin = "1234567890";
			ccinfo.amount = 1f;

			ccinfo.duplicate_override = 1;

			ccinfo.ccnum = "1234567890123456";
			ccinfo.expmon = 01;
			ccinfo.expyear = 17;
			ccinfo.ccname = "VISA";
			ccinfo.cardpresent = 1;
			ccinfo.cardreaderpresent = 0;
			ccinfo.cvv2_cid = "154";

			try{

			Console.WriteLine("ATCreditCardCharge.SALE:");
			pResult = bind.processSVSale(ccinfo); //FINAL
			if (pResult.status.Equals("Approved"))
			{
				Console.WriteLine("Service Work");
					
			}
			}
			catch(Exception ex) {
				Console.WriteLine (ex.Message);
			}


I want to ask what should I do to fix it, I've tried both versions of soap 11 and 12 but no one works, 
here is my code: 

I've searched all the Internet but I didnt found the solution. 

I hope you will help me :)