Hi All,
I am new to CRM, doing some integration of CRM+ Client system via soap service, usage I am sending some data(XML posted below) from CRM via soap service to external system. Soap service is showing its schema with "?wsdl", without wsdl in url it throws 500 internal error. With the same service when I am consuming via Soap-UI I am able to receive expected response, but not with CRM when it hits from plugin. It throws "Illegal Character in path".
any help would be appreciable.
My Service URL: http://192.168.212.4:7051/Processes/Organization/CRMToUk/CRMToUKService.serviceagent
and My Soap Action is
/Processes/Organization/CRMToOptimus/CRMToUKWebServicePortTypeEndpoint1/TIBCOAccountUpsert
CRM Version - 2016 On Prem.
WebRequest Header:
HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create("http://192.168.212.4:7051/Processes/Organization/CRMToUk/CRMToUKService.serviceagent");
httpWebRequest.Headers.Add("SOAPAction", "/Processes/Organization/CRMToOptimus/CRMToUKWebServicePortTypeEndpoint1/TIBCOAccountUpsert");
httpWebRequest.ServicePoint.Expect100Continue = false;
httpWebRequest.ContentType = "text/xml;charset=\"utf-8\"";
httpWebRequest.Accept = "text/xml";
httpWebRequest.Method = "POST";
Sample XML:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="www.w3.org/.../soap-envelope" xmlns:m="http://BNPPRE.com/xsd" soap:encodingStyle="www.w3.org/.../soap-encoding">
<soap:Body>
<m:ObjectMedata>
<m:MessageId>89b5a6b6-eeda-48dd-bbb8-d92c373c631a</m:MessageId>
<m:RequestTime>4/22/2016 5:40:26 PM</m:RequestTime>
<m:UserID>f85f3895-fdec-e511-80e4-005056ac5406</m:UserID>
</m:ObjectMedata>
<m:account xmlns:m="http://BNPPRE.com/xsd">
<m:Attributes>
<accountid>d23e0970-8707-e611-80eb-005056ac5406</accountid>
<createdby>Ahmad Pasha</createdby>
<createdon>04/21/2016 06:08:17</createdon>
<creditonhold>False</creditonhold>
<dgd_adminlocked>True</dgd_adminlocked>
<dgd_bankclient>False</dgd_bankclient>
<dgd_bustypedeveloper>False</dgd_bustypedeveloper>
<dgd_bustypeinvestor>False</dgd_bustypeinvestor>
<dgd_bustypelender>False</dgd_bustypelender>
<dgd_bustypeoccupier>False</dgd_bustypeoccupier>
<dgd_bustypeother>False</dgd_bustypeother>
<dgd_bustypeprofessional>False</dgd_bustypeprofessional>
<dgd_bustypepropertyadvisor>False</dgd_bustypepropertyadvisor>
<dgd_bustypepublicsector>False</dgd_bustypepublicsector>
<dgd_individual>False</dgd_individual>
<dgd_international>False</dgd_international>
<dgd_keyaccount>False</dgd_keyaccount>
<dgd_mlrstatus>283350000</dgd_mlrstatus>
<dgd_sectorid>Education</dgd_sectorid>
<dgd_tibcorefresh>283350001</dgd_tibcorefresh>
<donotbulkemail>False</donotbulkemail>
<donotemail>False</donotemail>
<donotfax>False</donotfax>
<donotphone>False</donotphone>
<donotpostalmail>False</donotpostalmail>
<donotsendmm>False</donotsendmm>
<fax>123243</fax>
<modifiedby>Ahmad Pasha</modifiedby>
<modifiedon>04/22/2016 15:40:24</modifiedon>
<name>Kurrah</name>
<ownerid>Ahmad Pasha</ownerid>
<preferredcontactmethodcode>1</preferredcontactmethodcode>
<statuscode>1</statuscode>
<transactioncurrencyid>Pound Sterling</transactioncurrencyid>
</m:Attributes>
</m:account>
</soap:Body>
</soap:Envelope>