Happy Business Starts Here

How to include ApiFault into each operation in WSDL?

Yolanda
Support SME

How to include ApiFault into each operation in WSDL?

Question: 

How to include ApiFault into each operation in WSDL?

 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Yolanda
Support SME

Re: How to include ApiFault into each operation in WSDL?

Solution:

 

In default WSDL downloaded from tenant's Billing Settings page, the ApiFault is not included under each of the operations as below:

Screen Shot 2016-11-23 at 16.50.05.png

 

If you're using WSDL to generate code(e.g. using wsdl2java to generate java code), you might expected ApiFault be also included under each operation as same as InvalidTypeFault and UnexpectedErrorFault. If that is the case, you may modify the WSDL to manually add the line as below:

 

Screen Shot 2016-11-23 at 16.50.28.png 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

1 REPLY 1
Yolanda
Support SME

Re: How to include ApiFault into each operation in WSDL?

Solution:

 

In default WSDL downloaded from tenant's Billing Settings page, the ApiFault is not included under each of the operations as below:

Screen Shot 2016-11-23 at 16.50.05.png

 

If you're using WSDL to generate code(e.g. using wsdl2java to generate java code), you might expected ApiFault be also included under each operation as same as InvalidTypeFault and UnexpectedErrorFault. If that is the case, you may modify the WSDL to manually add the line as below:

 

Screen Shot 2016-11-23 at 16.50.28.png 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post