You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by ratha <ra...@wso2.com> on 2008/12/14 16:51:37 UTC
The scheme is not conformant in ODE
Hi all,
When i try a sample bpel process(It contains xml schema file), it gives
following exception[1]. But when i send soap messages it works
fine(using SOAPUI).
can somebody tell me why this occurs?
Thanks.
-Ratha.
*[1]com.sun.org.apache.xalan.internal.xsltc.TransletException:
javax.xml.transform.TransformerException:
com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: The
scheme is not conformant.*
Re: The scheme is not conformant in ODE
Posted by Surendar <su...@7strata.com>.
what error u getting, can u send me the full error and your soap message
ratha wrote:
> Hi Matthieu,
> In SOAPUI, first i start the ODE server and i import my wsdl file to
> the workspace and send my soap messages[1].
> So URL is *http://localhost:8080/ode/processes/LoanService.
> *But here i start the odeserver in different localhost port and copied
> the WSDL URL and sending soap messages, it causes the following
> error.. any ideas..
>
>
> [1] <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:elem="http://www.example.org/elements.xsd">
> <soapenv:Header/>
> <soapenv:Body>
> <elem:LoanServiceRequest>
> <elem:FirstName>Tom</elem:FirstName>
> <elem:LastName>Tom</elem:LastName>
> <elem:Amount>5000</elem:Amount>
> </elem:LoanServiceRequest>
> </soapenv:Body>
> </soapenv:Envelope>
>
> Thanks.
> -Ratha
>
>
> Matthieu Riou wrote:
>> On Sun, Dec 14, 2008 at 7:51 AM, ratha <ra...@wso2.com> wrote:
>>
>>
>>> Hi all,
>>>
>>> When i try a sample bpel process(It contains xml schema file), it
>>> gives
>>> following exception[1]. But when i send soap messages it works
>>> fine(using
>>> SOAPUI).
>>> can somebody tell me why this occurs?
>>>
>>>
>>
>> This looks more like a problem with a URI scheme than XML schema. My
>> hunch
>> would be that either the soap location of your service or maybe a
>> namespace
>> URI isn't correct. In SOAPUI do you need to give it an address before
>> invocation or you can invoke directly?
>>
>> Thanks,
>> Matthieu
>>
>>
>>
>>> Thanks.
>>> -Ratha.
>>>
>>> *[1]com.sun.org.apache.xalan.internal.xsltc.TransletException:
>>> javax.xml.transform.TransformerException:
>>> com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: The
>>> scheme
>>> is not conformant.*
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus
>> Database: 270.9.18/1849 - Release Date: 12/15/2008 9:01 AM
>>
>>
>
>
>
Re: The scheme is not conformant in ODE
Posted by ratha <ra...@wso2.com>.
Hi Matthieu,
In SOAPUI, first i start the ODE server and i import my wsdl file to the
workspace and send my soap messages[1].
So URL is *http://localhost:8080/ode/processes/LoanService.
*But here i start the odeserver in different localhost port and copied
the WSDL URL and sending soap messages, it causes the following error..
any ideas..
[1] <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:elem="http://www.example.org/elements.xsd">
<soapenv:Header/>
<soapenv:Body>
<elem:LoanServiceRequest>
<elem:FirstName>Tom</elem:FirstName>
<elem:LastName>Tom</elem:LastName>
<elem:Amount>5000</elem:Amount>
</elem:LoanServiceRequest>
</soapenv:Body>
</soapenv:Envelope>
Thanks.
-Ratha
Matthieu Riou wrote:
> On Sun, Dec 14, 2008 at 7:51 AM, ratha <ra...@wso2.com> wrote:
>
>
>> Hi all,
>>
>> When i try a sample bpel process(It contains xml schema file), it gives
>> following exception[1]. But when i send soap messages it works fine(using
>> SOAPUI).
>> can somebody tell me why this occurs?
>>
>>
>
> This looks more like a problem with a URI scheme than XML schema. My hunch
> would be that either the soap location of your service or maybe a namespace
> URI isn't correct. In SOAPUI do you need to give it an address before
> invocation or you can invoke directly?
>
> Thanks,
> Matthieu
>
>
>
>> Thanks.
>> -Ratha.
>>
>> *[1]com.sun.org.apache.xalan.internal.xsltc.TransletException:
>> javax.xml.transform.TransformerException:
>> com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: The scheme
>> is not conformant.*
>>
>>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.176 / Virus Database: 270.9.18/1849 - Release Date: 12/15/2008 9:01 AM
>
>
Re: The scheme is not conformant in ODE
Posted by Matthieu Riou <ma...@gmail.com>.
On Sun, Dec 14, 2008 at 7:51 AM, ratha <ra...@wso2.com> wrote:
> Hi all,
>
> When i try a sample bpel process(It contains xml schema file), it gives
> following exception[1]. But when i send soap messages it works fine(using
> SOAPUI).
> can somebody tell me why this occurs?
>
This looks more like a problem with a URI scheme than XML schema. My hunch
would be that either the soap location of your service or maybe a namespace
URI isn't correct. In SOAPUI do you need to give it an address before
invocation or you can invoke directly?
Thanks,
Matthieu
>
> Thanks.
> -Ratha.
>
> *[1]com.sun.org.apache.xalan.internal.xsltc.TransletException:
> javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: The scheme
> is not conformant.*
>
Re: The scheme is not conformant in ODE
Posted by ratha <ra...@wso2.com>.
Hi all;
My schema is as follows,
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified"
attributeFormDefault="unqualified"
targetNamespace="http://www.example.org/elements.xsd"
xmlns:tns="http://www.example.org/elements.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="LoanServiceRequest" type="tns:LoanServiceRequest"/>
<xs:element name="RiskAssessorResponse"
type="tns:RiskAssessorResponse"/>
<xs:element name="LoanApproverResponse"
type="tns:LoanApprovalResponse" />
<xs:complexType name="LoanServiceRequest">
<xs:sequence>
<xs:element name="FirstName" type="xs:string" />
<xs:element name="LastName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"></xs:minLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Amount">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minExclusive value="1"></xs:minExclusive>
<xs:maxExclusive value="1000000"></xs:maxExclusive>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RiskAssessorResponse">
<xs:sequence>
<xs:element name="riskAssessment" type="tns:RiskAssessment" />
<xs:any minOccurs="0" maxOccurs="unbounded"
namespace="##other"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LoanApprovalResponse">
<xs:sequence>
<xs:element name="responseToLoanRequest"
type="tns:ResponseValue" />
<xs:element name="responseDescription" type="xs:string"
minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="RiskAssessment">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="low" />
<xs:enumeration value="high" />
<xs:enumeration value="review" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ResponseValue">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="approved" />
<xs:enumeration value="declined" />
<xs:enumeration value="underReview" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
Thanks,
-Ratha
ratha wrote:
> Hi all,
>
> When i try a sample bpel process(It contains xml schema file), it
> gives following exception[1]. But when i send soap messages it works
> fine(using SOAPUI).
> can somebody tell me why this occurs?
>
> Thanks.
> -Ratha.
>
> *[1]com.sun.org.apache.xalan.internal.xsltc.TransletException:
> javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: The
> scheme is not conformant.*
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.176 / Virus Database: 270.9.17/1847 - Release Date: 12/13/2008 4:56 PM
>
>