on 06-21-2011 4:49 AM
HI Experts,
I have a requirement, in which i need to create Business Partner via a Web Service. I have created my FM with the logic and publish it as a webservice.
Now i go to SOAMANAGER and click on "Open Web Service navigator for selected binding". I give my WSDL URL in the Navigator. It is showing my Web Service.
Now When i am clicking on the "Test", It is displaying me all the input Parameters. Now after filling all the parameters, when i click on the "send" button i am getting following Error:
XML Serialization Error. Object content does not correspond to Schema restrictions of type urn:sap-com:document:sap:rfc:functions [char1].
I went to the WSDL Document and search for the Function & char1 I found it here:
- <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
- <xsd:simpleType name="char1">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char10">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char100">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="100" />
</xsd:restriction>
</xsd:simpleType>
Now i am not sure how to resolve it OR why this error is coming. This is my first task related to Web Service, Please help me to resolve this error.
-
Dave
Hey Solved the issue.
Dont have clear idea what solve it, but i activated some services in SICF and it start working.
-
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.