I am using :XI18.104.22.168.9.
i have 2 queries#
1. Can we expose WSDL v2 as WSP with my current version?
2. Can WSP accept JSON as input? if yes, How it will identify the operation name? can some one share sample JSON request?
HermannSW 2700006U547439 Posts
Re: WSP accepting JSON2012-06-20T12:27:36ZThis is the accepted answer. This is the accepted answer.> 2. Can WSP accept JSON as input? if yes, How it will identify the operation name? can some one share sample JSON request?
No, WSP accepts SOAP only.
Please see "Implementing a Web 2.0 RESTful facade enabled with JSON using WebSphere DataPower SOA Appliances"
See the optional SOAP call to WSP in that article.
SystemAdmin 110000D4XK6772 Posts
Re: WSP accepting JSON2012-11-29T08:52:55ZThis is the accepted answer. This is the accepted answer.
- HermannSW 2700006U54
If the User fire a request URL ended with ?wsdl means I have to fetch the wsdl from local folder and send it to Consumer for the particular service.
For Example, I have one request rule, I have created match action with ?wsdl to accept URL ended with ?wsdl. This means I will fetch the WSDL from local folder and send it to Consumer.
One more request and response rule for actual request and response. If I fire a request and I got a proper response but when I fire a url with ?wsdl. It's not at all going to the request rule with the match action to accept ?wsdl.
In WSP Configuration, We have some properties like request type as Non-xml, XML, SOAP. But you told, the WSP accept only SOAP Message.
kenhygh 120000PD1B2444 Posts
Re: WSP accepting JSON2012-11-29T11:08:40ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
A WSP only accepts SOAP because a WSP is purely WSDL driven, and there's no way to have WSDL that describes non-SOAP messages, such as JSON.