Folk,
Hello. I am developing an Online Admission Application for PeopleSoft Campus Solution 9.0 for a University.
The admission application has 2 parts below:
1) Applicant creates an account to login if new user. This page calls PeopleSoft web service SCC_USERREG.
2) Applicant login into his account to fill out application form. This page calls PeopleSoft web service SAD_ADMISSIONS.
I have been testing the Web Services SCC_USERREG_CREATEACCT in SOAPUI . The output is below:
<Default Message>Schema validation failed for Request message SCC_UR_CREATEACCT_REQ.</Default Message>
I have been also testing the Schema for message SCC_UR_CREATEACCT_REQ.V1 on PeopleSoft Navigator PeopleTools > Integration Broker > Service Utilities > Schema Tester . I download the file http://MyIP:8000/PSIGW/PeopleSoftServiceListeningConnector/SCC_UR_CREATEACCT_REQ.V1 into Desktop and upload this file into PeopleTools Schema Tester. After click the button "Validate", the result comes up as below:
Message Schema Validation errors: Message SCC_UR_CREATEACCT_REQ, Version V1, Errors:
Error: ( line: 2 column: 209 ) Unknown element 'xs:schema'
Error: ( line: 2 column: 209 ) Attribute 'elementFormDefault' is not declared for element 'xs:schema'
Error: ( line: 2 column: 209 ) Attribute 'targetNamespace' is not declared for element 'xs:schema' (158,530)
The content of the file SCC_UR_CREATEACCT_REQ.V1 is below:
<?xml version="1.0" encoding="UTF-8" ?>
- <xs:schema elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/Enterprise/HCM/services" xmlns="http://xmlns.oracle.com/Enterprise/HCM/services" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="SCC_ENTITY_CONSTITUENT.V1.xsd" />
- <xs:element name="SCC_UR_CREATEACCT_REQ">
- <xs:complexType>
- <xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="SCC_USERNAME" type="xs:string" />
<xs:element maxOccurs="1" minOccurs="1" name="SCC_PASSWORD" type="xs:string" />
<xs:element maxOccurs="1" minOccurs="1" name="SCC_CONFIRMPWD" type="xs:string" />
<xs:element maxOccurs="1" minOccurs="0" name="SCC_ENTITY_INST_ID" type="xs:string" />
<xs:element maxOccurs="1" minOccurs="1" ref="CONSTITUENT" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
The message SCC_UR_CREATEACCT_REQ.V1 is generated in PeopleTools automatically. As you see in the file, the 3 factors xs:schema, elementFormDefault and targetNamespace are in the file. I don't understand how to solve the 3 errors for "Validation".
My questions is:
Could any folk help to solve the above 3 errors xs:schema, elementFormDefault and targetNamespace for message SCC_UR_CREATEACCT_REQ.V1 Schema Validation ?
Thanks in advance.