<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>998</bug_id>
          
          <creation_ts>2003-06-13 09:55</creation_ts>
          <short_desc>Alpha 4 ReflectionUtils class problem</short_desc>
          <delta_ts>2004-05-28 15:48:14</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Java WS Core</product>
          <component>globus_ogsi_core</component>
          <version>alpha</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bob Hansen">hansenb@us.ibm.com</reporter>
          <assigned_to name="Peter Lane">lane@mcs.anl.gov</assigned_to>
          <cc>afhieter@us.ibm.com</cc>
    
    <cc>childers@mcs.anl.gov</cc>
    
    <cc>joecwell@us.ibm.com</cc>
    
    <cc>ogsa-bugs@globus.org</cc>
    
    <cc>sandholm@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Bob Hansen">hansenb@us.ibm.com</who>
            <bug_when>2003-06-13 09:55:15</bug_when>
            <thetext>I am working on a web based OGSA management UI, and have run into a problem 
using the ReflectionUtils class (package org.globus.ogsa.client.reflection) in 
Alpha 4 that I did not have in Alpha 3 or earlier.  Specifically, I am calling 
the getOperationDescriptions method to obtain all of the operation information 
for a specific port type ... typical call being: 

portTypeOperationList = 
    ReflectionUtils.getOperationDescriptions( 
       gsr.getWSDLDefinition(), 
       gsr.getDocument(), 
       aPortType ); 

Starting in Alpha 4, the call now fails most of the time with a null pointer 
exception. But in some cases it does still work. It appears to only fail if 
the NamespaceURI of the QNAME representing the port type (ie. aPortType in the 
call above) is specifically a new value that started showing up in the toolkit 
services themselves after Alpha 3 ... the new value being: 

    
http://www.gridforum.org/namespaces/2003/03/OGSI 

The error is: 

   java.lang.NullPointerException 
     at 
org.globus.ogsa.client.reflection.ReflectionUtils.getOperationDescriptions
(ReflectionUtils.java:113) 

I located a similar call to the ReflectionUtils.getOperationDescriptions 
method inside the toolkit service browser gui that it uses trying to create 
dynamic operation panels, and it also fails with the same error when I execute 
the toolkit service browser (under the same port type namespace URI 
conditions). 

Is anyone in toolkit development already aware of this condition in Alpha 4?  
If not, could you verify whether it is an actual problem or not?  I think it 
may have been introduced in Alpha 3.5, but I went directly from Alpha 3 to 
Alpha 4, so I didn&apos;t see it until then. 

Thanks in advance.  Cheers - 
Joe Caldwell &lt;joecwell@us.ibm.com&gt; 
(bugzilla entered by Bob Hansen)

Note: we&apos;re seeing a similiar problem in the beta, but have not fully 
diagnosed it as of yet.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Peter Lane">lane@mcs.anl.gov</who>
            <bug_when>2003-06-18 18:46:22</bug_when>
            <thetext>Though this is actually an issue with certain wsdl schemas inheriting gwsdl
schemas instead of being setup and processed with GWSDL2WSDL properly as per the
guide and samples, this modification returns operation information for the
dervied port type of which the wsdl schema exists for as opposed to the port
type that is actually being requested.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>