Hi,
 
Please look at this mail (from the thread you referenced before):
http://www.globus.org/mail_archive/gt-user/2008/09/msg00037.html. We did not
do any corrections, but used a version with corrections.
 
I suggest that you not download any schema, but use the one shipped with the
toolkit. You will find the ws addressing schema used in
wsrf/schema/ws/addressing.  Any service that requires datatype from that
specification, should be using it.  I am not able to comment on the math
service example - I don't have the WSDL.
 
Again, I suggest you look at the counter sample and its WSDLs to see how the
addressing schema is included and used.
 
Rachana
 


  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Francesco Maiorano
Sent: Monday, April 27, 2009 6:10 PM
To: [email protected]
Subject: [gt-user] GT Tutorial Update


Hi Rachana, 
thank you very much for the fast reply.

I took a look at
http://www.globus.org/toolkit/docs/latest-stable/common/javawscore/mig/#java
wscore-migrating-GT4
and I'm sure my service uses the correct schema and wsdl ( at least I hope
so :-P ).

Let's see if I understood, the addressing schema shipped with GT 4.2.x is
somehow ... wrong? So you use a corrected one. But where can I find it?
$GLOBUS_LOCATION/share/schema/ws/addressing/ws-addr.xsd has no reference to
AttributedAnyType but, http://www.w3.org/2005/08/addressing/ws-addr.xsd
does!


#---------------------------------------------------------------------------
----------------------------#
....
<xs:element name="ProblemHeader" type="tns:AttributedAnyType"/>
<xs:complexType name="AttributedAnyType" mixed="false">
           <xs:sequence>
                      <xs:any namespace="##any" processContents="lax"
minOccurs="1" maxOccurs="1"/>
           </xs:sequence>
           <xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
....
#---------------------------------------------------------------------------
----------------------------#

Here ( http://www.w3.org/2005/08/addressing/ ) you can find a reference to
http://www.w3.org/2006/03/addressing/ws-addr.xsd
maybe this is the correct .xsd? I can't see any reference to
AttributedAnyType inside of it.


So, I downloaded and placed it in
$GLOBUS_LOCATION/share/schema/ws/addressing/ws-addr.xsd


I think I'm wrong with inclusion. Maybe I must put a reference to it
somewhere. Something like:

<xsd:import namespace="http://www.w3.org/2005/08/addressing";
schemaLocation="my/path/to/ws-addr.xsd" />

but I don't know where.
I've tried in MathService_instance.wsdl right after:

<wsdl:import namespace="http://docs.oasis-open.org/wsrf/rpw-2";
ocation="http://docs.oasis-open.org/wsrf/rpw-2.wsdl"; />

but it doesn't work.

If I misunderstood, please forgive me.

Thanks again.
Francesco

Reply via email to