Return-Path: Delivered-To: apmail-ws-wsif-user-archive@www.apache.org Received: (qmail 39449 invoked from network); 13 Jul 2005 16:19:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2005 16:19:18 -0000 Received: (qmail 81717 invoked by uid 500); 13 Jul 2005 16:19:16 -0000 Delivered-To: apmail-ws-wsif-user-archive@ws.apache.org Received: (qmail 81702 invoked by uid 500); 13 Jul 2005 16:19:15 -0000 Mailing-List: contact wsif-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: wsif-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list wsif-user@ws.apache.org Received: (qmail 81689 invoked by uid 99); 13 Jul 2005 16:19:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 09:19:15 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.223.158.56] (HELO gw-col004.proxy.uk.fid-intl.com) (192.223.158.56) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 09:19:13 -0700 Received: from mail51.kwd.uk.fid-intl.com (mail51.kwd.uk.fid-intl.com [10.160.74.28]) by gw-col004.proxy.uk.fid-intl.com (8.12.10/8.12.5) with ESMTP id j6DGJC2L027195 for ; Wed, 13 Jul 2005 17:19:12 +0100 (BST) Received: from ukkwd710nts.kwd.uk.fid-intl.com (ukkwd710nts.kwd.uk.fid-intl.com [10.160.74.133]) by mail51.kwd.uk.fid-intl.com (8.11.7p1+Sun/8.11.7) with ESMTP id j6DGJ7E14716 for ; Wed, 13 Jul 2005 17:19:07 +0100 (BST) Received: by ukkwd710nts.kwd.uk.fid-intl.com with Internet Mail Service (5.5.2654.89) id ; Wed, 13 Jul 2005 17:19:07 +0100 Message-ID: From: "Leng, Jialing" To: "'wsif-user@ws.apache.org'" Subject: RE: Problem for .wsdl that imports .xsd Date: Wed, 13 Jul 2005 17:19:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C587C6.96C0E328" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C587C6.96C0E328 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Paolo, =20 Yes, I didn't include the whole schema file but only included the piece which is relevant in my early mail. =20 As for the point 2 below, do you mean I must add an import section in = the XSD file to include the location of WSDL so the WSDL can be validated? = I have tried the following in the XSD file : =20 =20 or but none of them works, could you please give more ideas? I am new to WSDL/XSD/WebService so your help is very much appreciated. Thanks Jialing =20 -----Original Message----- From: Fiore Paolo [mailto:Paolo.Fiore@atosorigin.com]=20 Sent: 13 July 2005 15:39 To: wsif-user@ws.apache.org Subject: R: Problem for .wsdl that imports .xsd Jialing, =20 there are two error. 1) At end of schema file there isn't tag . But I suppose = that you have forgotten to write it in this e-mail. =20 2) You must add in the your schema file a section with = to validate your WSDL. The error message say you that into WSDL isn't = possible resolve the namespace referenced in schema file and defined by the = following piece of code: xmlns:xt=3D"urn:schemas-xtrac-fmr-com:b2b"=20 Regards Paolo -----Messaggio originale----- Da: Leng, Jialing [mailto:jialing.leng@uk.fid-intl.com] Inviato: mercoled=EC 13 luglio 2005 16.20 A: 'wsif-user@ws.apache.org' Oggetto: RE: Problem for .wsdl that imports .xsd Thanks Fiore. =20 I used the following: =20 But it complains Error INVALID_WSDL: XSD element {urn:schemas-xtrac-fmr-com:b2b}Login cannot be resolved XtracLogin.wsdl IPManager/src/wsifclients/wsdls line = 1. and in XSD file, "Login" is as follows: =20 =20 Any idea why ? Thanks Jialing =20 -----Original Message----- From: Fiore Paolo [mailto:Paolo.Fiore@atosorigin.com]=20 Sent: 13 July 2005 14:47 To: wsif-user@ws.apache.org Subject: R: Problem for .wsdl that imports .xsd Leng, =20 try with: =20 =20 -----Messaggio originale----- Da: Leng, Jialing [mailto:jialing.leng@uk.fid-intl.com] Inviato: mercoled=EC 13 luglio 2005 15.41 A: 'wsif-user@ws.apache.org' Oggetto: Problem for .wsdl that imports .xsd Hi, I am new to this forum/WSIF and hopefully someone can point me into = the direction ...=20 I am trying to use WSIF to access the web services and the WSDL file describing the web services includes an "import" tag section which = should import the specified XSD file which defines the data types used for the = web services. WSDL2Java does generates the classes fine. But somehow my = WSIF application cannot seem to pick up the data types there. I am using = wsif 2.0 downloaded from Apache web site. The import line is like : =20 Can anyone help me on this ?=20 Thanks=20 Jialing=20 ------_=_NextPart_001_01C587C6.96C0E328 Content-Type: text/html; charset="iso-8859-1" Message
Paolo,
 
Yes, I didn't include the whole schema file but only included the piece which is relevant in my early mail.
 
As for the point 2 below, do you mean I must add an import section in the XSD file to include the location of WSDL so the WSDL can be validated? I have tried the following in the XSD file :
 

<xsd:import namespace="urn:schemas-xtrac-fmr-com:b2b" schemaLocation="../schemas/XtracB2BServiceSchema.xsd" />

or

<import namespace="urn:schemas-xtrac-fmr-com:b2b" schemaLocation="../wsdls/XtracB2B.wsdl" />

but none of them works, could you please give more ideas? I am new to WSDL/XSD/WebService so your help is very much appreciated.

Thanks

Jialing

 

-----Original Message-----
From: Fiore Paolo [mailto:Paolo.Fiore@atosorigin.com]
Sent: 13 July 2005 15:39
To: wsif-user@ws.apache.org
Subject: R: Problem for .wsdl that imports .xsd

Jialing,
 
there are two error.
1)
At end of schema file there isn't  tag </xsd:schema>. But I suppose that you have forgotten to write it in this e-mail.
 
2)
You must add in the your schema file a section with <import namesapce="urn:schemas-xtrac-fmr-com:b2b" schemaLocation="....."> to validate your WSDL. The error message say you that into WSDL isn't possible resolve the namespace referenced in schema file and defined by the following piece of code:

xmlns:xt="urn:schemas-xtrac-fmr-com:b2b"

Regards

Paolo


 -----Messaggio originale-----
Da: Leng, Jialing [mailto:jialing.leng@uk.fid-intl.com]
Inviato: mercoled� 13 luglio 2005 16.20
A: 'wsif-user@ws.apache.org'
Oggetto: RE: Problem for .wsdl that imports .xsd

Thanks Fiore.
 
I used the following:
 

<types xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:schema>

<xsd:import namespace="urn:schemas-xtrac-fmr-com:b2b"

schemaLocation="../schemas/XtracB2BServiceSchema.xsd" />

</xsd:schema>

</types>

But it complains

Error   INVALID_WSDL: XSD element {urn:schemas-xtrac-fmr-com:b2b}Login cannot be resolved XtracLogin.wsdl IPManager/src/wsifclients/wsdls line 1.

and in XSD file, "Login" is as follows:

<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xt="urn:schemas-xtrac-fmr-com:b2b" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:schemas-xtrac-fmr-com:b2b" elementFormDefault="qualified" attributeFormDefault="unqualified">

<!-- Xtrac Session Cookie data type -->

<xsd:element name="Cookie" type="xsd:string"/>

 

<!-- ***************************************************** -->

<!-- Login -->

<!-- ***************************************************** -->

<!-- Request -->

<xsd:element name="Login" type="xt:LoginType"/>

<xsd:complexType name="LoginType">

<xsd:sequence>

<xsd:element name="OperId" type="xt:OperIdType"/>

<xsd:element name="Password" type="xt:PasswordType"/>

<xsd:element name="GetSecurityFunctions" type="xt:YesNoType" minOccurs="0"/>

<xsd:element name="GetBitmaskSecurityFunctions" type="xt:YesNoType" minOccurs="0"/>

<xsd:element name="GetOperatorProfileInfo" type="xt:YesNoType" minOccurs="0"/>

<xsd:element name="GetSourceSystemInfo" type="xt:YesNoType" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

 

Any idea why ?

Thanks

Jialing

 

-----Original Message-----
From: Fiore Paolo [mailto:Paolo.Fiore@atosorigin.com]
Sent: 13 July 2005 14:47
To: wsif-user@ws.apache.org
Subject: R: Problem for .wsdl that imports .xsd

Leng,
 
try with:
 
<import namespace="urn:schemas-xtrac-fmr-com:b2b" schemaLocation="../schemas/XtracB2BServiceSchema.xsd" />

-----Messaggio originale-----
Da: Leng, Jialing [mailto:jialing.leng@uk.fid-intl.com]
Inviato: mercoled� 13 luglio 2005 15.41
A: 'wsif-user@ws.apache.org'
Oggetto: Problem for .wsdl that imports .xsd


Hi, I am new to this forum/WSIF and hopefully someone can point me into the direction ...

I am trying to use WSIF to access the web services and the WSDL file describing the web services includes an "import" tag section which should import the specified XSD file which defines the data types used for the web services. WSDL2Java does generates the classes fine. But somehow my WSIF application cannot seem to pick up the data types there. I am using wsif 2.0 downloaded from Apache web site. The import line is like :

<import namespace="urn:schemas-xtrac-fmr-com:b2b" location="../schemas/XtracB2BServiceSchema.xsd" />

Can anyone help me on this ?

Thanks
Jialing


------_=_NextPart_001_01C587C6.96C0E328--