Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

There is SOAP-service with the following function:

&lt?xml version="1.0" encoding="utf-8"?>
&ltsoap12:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap12="">
&ltTestSecod xmlns="">
The WSDLC.exe-compiler (ASA12) generates the following code:
alter function "InternalIandPRegisterService.TestSecod"( / "obTest" _254._0._0._10.InvoiceAndPaymentsRegisterService.InternalIandPRegisterService_asmx.ObjToTest /)
 returns xml
 url ''
 type 'SOAP:DOC'
 set 'SOAP(OP=TestSecod)'
 namespace '';

Q1: Is it right to change the commented parameter as follows:
alter function "InternalIandPRegisterService.TestSecod"( "obTest" xml)
Q2: What should be a request not to receive 400 and 500 error codes? For example: if
SELECT "InternalIandPRegisterService.TestSecod"('&ltobTest>&ltTextData>my string&lt/TextData>&ltIntData>314&lt/IntData>&ltDateData>2014-07-24&lt/DateData>&lt/obTest>');
HTTP request failed. Status code '500 Internal Server Error'
SQLCODE=-983, ODBC 3 State="HY000"

P.S. As a 'Left angle brackets', I used &lt. Preview - OK, but now is visible only only &lt :=(

asked 24 Jul '14, 09:49

Ilia63's gravatar image

accept rate: 44%

edited 24 Jul '14, 09:56

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 24 Jul '14, 09:49

question was seen: 2,829 times

last updated: 24 Jul '14, 09:56