You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Jean-Guillaume LALANNE <je...@coming.fr> on 2001/05/17 10:57:12 UTC

WSDL spec

Hi,

I have been implementing my business process via SOAP and I am now
trying to publish it with the format WSDL.
I am not sure to know how to handle this.

My business process is launched with a "business event" message SOAP.
This message is sent by using the simple Literal_XML_Encoding.

This message is grosso modo a "XML hashMap" of different types of object :
java simple types (String, Boolean,... ) , java.util.collection and other
java data
object model (internal to our plateform : java beans with collection of
dependant java beans).
Each of our internal jdo has a schema.xsd available somewhere.
I have implemented our own UnMarshaller/Marshaller (java/XML binding)
stuff by using these schemas...

So the business process works fine.
I'd like now to make it simply accessible by all our future eventual
partners.
The only solution is to describe it via WSDL.

My question is the following one :
How can I make reference in my WSDL file to the diverse schemas already
created for
our jdo objects ?
I know that I have to put this in the following part of the WSDL file:

<definitions .... >
    <types>
        <-- type-system extensibility element --> *
    </types>
</definitions>

But I am not sure to understand how to point on my numerous schemas from
there !?!?!?
Can I do something like this :

<definitions .... >
    <types>
            <xsd:schema blablabla>
                    <import namespace="tototototo"
schemaLocation="http://www.coming.fr/validation/WHIP-1.0/Schemas/model/membe
r.xsd" />
            </xsd:schema>
    </types>
</definitions>

Will it be understood by the diverse SOAP toolkit : IBM SOAP toolkit and
GLUE toolkit, MS toolkit ...???

Any help will be appreciated.
Thanx
Jean-Guillaume LALANNE
software architect
www.coming.fr






----- Original Message -----
From: "Sanjiva Weerawarana" <sa...@watson.ibm.com>
To: <so...@xml.apache.org>
Cc: "Apache SOAP" <so...@xml.apache.org>
Sent: Wednesday, May 16, 2001 6:21 PM
Subject: Re: cutting a 2.2 release


> My mental model was to "wrap up" the current CVS tree and to basically
> take that as 2.2. If we start adding a whole bunch of new things now
> then its going to take quite some time to get it all stable.
>
> Some of your additions would be very nice to have (e.g., JMS transport).
>
> I suggest considering contributing the stuff after 2.2. However, I'm
> not certain there'll be another release after 2.2 - Axis is getting
> pretty close and hopefully 2.2 will hold up until Axis is ready for
> prime time.
>
> Sanjiva.
>
> ----- Original Message -----
> From: "Forden, David Keith" <Da...@epiqus.com>
> To: <so...@xml.apache.org>
> Sent: Tuesday, May 15, 2001 9:45 PM
> Subject: RE: cutting a 2.2 release
>
>
> Our company name is Epiqus. We are a digital retail financial service
> delivery company and specialise in framework development. We are
> developing a framework around Apache SOAP 2.1 currently.
>
> We are writing a JMS transport, a JAAS authentication and authorisation
> module and a few other goodies. We are also planning on breaking out the
> class invocation code, extending the deployment descriptor code and
> implementing service proxying.
>
> 1) What is the schedule for 2.2 ?
> 2) Are you guys interested in incorporating some (or all) of our
> extensions ?
> 3) Would you like us to work with you on it.
>
> Dave
>
> -----Original Message-----
> From: Sanjiva Weerawarana [mailto:sanjiva@watson.ibm.com]
> Sent: Wednesday, May 16, 2001 4:27 AM
> To: Apache SOAP
> Cc: soap-user@xml.apache.org
> Subject: cutting a 2.2 release
>
>
> I would like to work on a 2.2 release ASAP. Matt has volunteered
> to take over the release manager role and I will help with docs
> and other stuff. Matt's going to post a list of things that we
> know have to be done soon. If there are things you'd like to have
> done before 2.2 is cut speak now or hold your peace forever. If
> there are any posted bugs or patches that haven't been incorporated
> please point them out ..
>
> If there are any strong objections to cutting a 2.2 release please
> raise them now.
>
> Thanks,
>
> Sanjiva.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> > For additional commands, email: soap-user-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Parameters in constructors

Posted by Mangala Gowri Nanda <ma...@yahoo.com>.
How do I pass parameters to the constructor in a SOAP application ?
For example, suppose I have an ap

public class MyApp
{
	private String str;

	public MyApp ( String str )
	{
		this.str = str;
	}
	public String getValue ()
	{
	}
}

When I deploy it at some site I want to pass it a site-specific string.
How do I achieve this ?

Once MyApp is deployed, does each remote call to the method getValue()
invoke the method on the same MyApp object ? If so, when and where is
the MyApp object initialized ? Or does the object change from call to
call ?

What is the significance of setting scope to REQUEST, SESSION or
APPLICATION in DeploymentDescriptor.xml ? Are there other values also
possible ? Is there a default ?

Is there some place I can read up about such things ? 

Mangala Gowri



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Parameters in constructors

Posted by Mangala Gowri Nanda <ma...@yahoo.com>.
How do I pass parameters to the constructor in a SOAP application ?
For example, suppose I have an ap

public class MyApp
{
	private String str;

	public MyApp ( String str )
	{
		this.str = str;
	}
	public String getValue ()
	{
	}
}

When I deploy it at some site I want to pass it a site-specific string.
How do I achieve this ?

Once MyApp is deployed, does each remote call to the method getValue()
invoke the method on the same MyApp object ? If so, when and where is
the MyApp object initialized ? Or does the object change from call to
call ?

What is the significance of setting scope to REQUEST, SESSION or
APPLICATION in DeploymentDescriptor.xml ? Are there other values also
possible ? Is there a default ?

Is there some place I can read up about such things ? 

Mangala Gowri



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org