- Kevin Ridley
- PowerBuilder
- Monday, 9 April 2018 01:10 PM UTC
PB2017 R2 build 1756 - I'm trying to consume a BizTalk service. It's a very simple person search service, where I pass a person id. The response is generic for when we want to add name search etc, so it returns an array of person. Not sure why, but PB wasn't able to figure out the return, but it has defined it as any, which is inconvenient, but I've gotten around this before by retrieving to the any and then assigning to the correct object. The problem is, I'm catching a SoapException because it doesn't like something in the document format. Fiddler shows that it returned data as expected, but we get the SoapException. Below is the function declaration and response:
function any ReadLinkDb2Person( long LinkDb2PersonReadRequest[]) alias for ""
Response (from Fiddler):
HTTP/1.1 200 OK
Content-Length: 753
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Date: Mon, 09 Apr 2018 12:57:07 GMT
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.