cancel
Showing results for 
Search instead for 
Did you mean: 

javax.xml.rpc.soap.SOAPFaultException: Deserialisation failed

Former Member
0 Kudos

Hi

I have imported one webservice in my application. When i am executing the application i am getting following error

<b>javax.xml.rpc.soap.SOAPFaultException: Deserialisation failed</b>

i have tested this webservice using WSNAVIGATOR and i have entered data only in few fields, its working fine. But when i am executing my application its asking to enter data in every field. I have enterd data in every field but still i am getting the above error

How resolve it

Please help

Best Regards

Ravi Shankar B

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182411
Active Participant
0 Kudos

Hi,

did you get an answer for this issue?

With kind regards.

Martin Steinberg

Former Member
0 Kudos

Hi

I have imported one webservice in my application. When i am executing the application i am getting following error

javax.xml.rpc.soap.SOAPFaultException: Deserialisation failed

i have tested this webservice using WSNAVIGATOR and i have entered data only in few fields, its working fine. But when i am executing my application its asking to enter data in every field. I have enterd data in every field but still i am getting the above error

I have written the following code


Request_Z_BAPI_CUSTOMER_CHANGE_WS_customerChangeFromData customer = new Request_Z_BAPI_CUSTOMER_CHANGE_WS_customerChangeFromData();
	ComplexType_CustomerChangeFromData complexType = new ComplexType_CustomerChangeFromData();
	ComplexType_Bapikna101 bapi = new ComplexType_Bapikna101();
	Bapikna101 bapi1 = new Bapikna101();
    
	bapi1.setCity("RIYAD");
	bapi1.setCountraiso("SA");
	bapi1.setCountrniso("SA");
	bapi1.setCountry("SA");
	bapi1.setCountryiso("SA");
	bapi1.setFaxNumber("12345678");
	bapi1.setFirstName("First Name");
	bapi1.setInternet("ravi@shankar.com");
	bapi1.setDateBirth("12.12.2006");
	bapi1.setLanguIso("EN");
	bapi1.setName("Name");
	bapi1.setName3("Name 3");
	bapi1.setName4("Name 4");
	bapi1.setRegion("GB");
	bapi1.setFormOfAd("Address");
	bapi1.setStreet("Street");
	bapi1.setPostlCode("12345");
	bapi1.setLangu("X");
	bapi1.setTelephone("12345678");
	bapi1.setTelephone2("12345678");
	bapi1.setCurrency("INR");
	bapi1.setCurrencyIso("INR");
	bapi1.setOnlyChangeComaddress("X");
	complexType.setCustomerNo("0000040009");
	complexType.setPiDistrChan("01");
	complexType.setPiDivision("01");
	complexType.setPiSalesorg("QNIN");
	customer._setUser("abap");
    customer._setPassword("quinnox");
	CustomerChangeFromData data = new CustomerChangeFromData();
	data.setPiAddress(bapi1);
	bapi.setOriginalBean(bapi1);
	
	complexType.setOriginalBean(data);
	complexType.setPiAddress(bapi);
	customer.setParameters(complexType);
	wdContext.nodeRequest_Z_Bapi_Customer_Change().bind(customer);
	

please help me

Best Regards

Ravi Shankar B

Former Member
0 Kudos

HI

can any one help me please

Best Regards

Ravi Shankar B