11-09-05 12:48 PM
I have created a fault web service according to w3 standards in the followin
g
way.
[SoapService"http://internet.com/cablemodem/provisioning/2005/11/01")]
public class CableModemFaultService : SoapService
{
[SoapMethod("SendFault")]
public void SendFault(SoapEnvelope envelope)
{}
}
I have to call this web service through Biztalk adapter for WSE.
When I try to download the WSDL in the biztalk orchestration by doing a add
generated items and select the wse option and then give reference to this we
b
service then it faces an error "Cannot download the WSDL".
Is there any way by which fault web service written according to w3
standards can be called through the biztalk wse adapter.
Please note that if this was a normal web method then there was no problem
in doing the method call.
I can easily call this web service through a .net application in the
following way
public class Myproxy : SoapClient
{
public Myproxy(EndpointReference endRef) : base(endRef)
{
}
public void MyFault()
{
SoapEnvelope soapEnvelope=new SoapEnvelope();
SoapException ex = new SoapException( "soap:error", new
System.Xml.XmlQualifiedName("string", "http://aaa/"), "Provision", new
Exception("error"));
soapEnvelope.Fault = ex;
base.SendOneWay( methodName, soapEnvelope);
}
Is there any way this soap fault web service built according to w3 standard
can be called from the biztalk orchestration taking advantage of biztalk wse
adapter.
If some body could suggest a way around it would be of great help
[ Post a follow-up to this message ]
|