Re: Anne can u please tell me what is interoperable data type.

2006-03-12 Thread Giri
Hianne pls gieve me suggestions ,is there any major modification in the dot net coding.(becoz they have already coded using data set).
 
as we agreed in the document,now we have to proceed with data set only.pls
now how do i get the information in generated code.pls help me to write client code
 
shall i use MessageElment[]   = obj.get_any();
 
then all data'as are instring format.
 
 
 
regards
Giri babu 
On 3/12/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

A .Net Dataset is the datatype used by ADO.NET. It contains proprietary data management information, and it should not be exposed via a SOAP/WSLD interface. The Dataset should be converted into an array of structures. 
 
Anne

On 3/10/06, Giri <[EMAIL PROTECTED]> wrote:
 


hi
 
   Anne this is very urgent,can u please tell me what is interoperable data type.
please give me suggestions for dot.Net web services how it should be?
Which condition he has to set?
dataset means - it has Objects is it?
 
 
 
regards

Giri babu.v 


Re: axis2 and mtom

2006-03-12 Thread Thilina Gunarathne
Hi Brian,
See my comments below... 
On 3/12/06, Brian Shields <[EMAIL PROTECTED]> wrote:
Hi all,I am having some trouble sending attachments with axis2 messages. Untilnow I have been sending a large xml string as a parameter of a web
service call. I recently applied security to this and I am getting a lotof errors when the string parameter goes beyond a certain size. What Iam exploring as a work around is sending the xml file as an attachment
using MTOM. From some v quick research i think this is the best approachwhen security is involved.
 
You can also consider using Secure MTOM directly if you r going for encryption... An encrypted payload(cipher value) is a binary content. Normally in the context of web services people encode the payloadcipher value using base64 and send it..Now with MTOM we can directly send the encrypted payload as an binary attachment. Axis2 provides secure MTOM support...

My problem is on the parsing of this message. I am getting a "ContentIDis null" message. Is this because I have not specified the MIME type in
the Client? 
 
AFAIK this does not matter a lot when using data handlers... 
My client code looks like...OMElement value = fac.createOMElement("Text", omNs);DataHandler dh = new DataHandler(new ByteArrayDataSource(
s.getBytes()));OMText text = fac.createText(dh, true);value.addChild(text);where s is a String.The server code to parse this looks like...OMElement binaryElement = element.getFirstElement();OMText binaryNode = (OMText) 
binaryElement.getFirstOMChild();
 
>>> binaryNode.setOptimize(true);
DataHandler actualDH = (DataHandler)binaryNode.getDataHandler();
 
Do u have MTOM enabled in the client side. MTOM is switched ON by default , but it's worth checking... You can use HttpTracer (aka TCPMON) to see the wire level message. For me it seems ur message still transmits without MTOM optimisation. 

 
You can try doing a hack by adding this line in between the 3d and 4th lines in the above given server code...
binaryNode.setOptimize(true);
 
I don't recomend this usage in the long run.. But give it a try.. If it does not give the same error, then it means ur message was not optimized earlier...
 
 
~Thilina-- "May the SourcE be with u"http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/ http://www.bloglines.com/blog/Thilina   


[Axis2] A question about asynchronous services and message queue

2006-03-12 Thread Dong Liu
Hi, folks,When trying to deploy some async services to compare their performance to the sync ones, I realize that the async services make no sense with the support of a message queue. What is your idea? Cheers,
Don


axis2 and mtom

2006-03-12 Thread Brian Shields

Hi all,
I am having some trouble sending attachments with axis2 messages. Until 
now I have been sending a large xml string as a parameter of a web 
service call. I recently applied security to this and I am getting a lot 
of errors when the string parameter goes beyond a certain size. What I 
am exploring as a work around is sending the xml file as an attachment 
using MTOM. From some v quick research i think this is the best approach 
when security is involved.
My problem is on the parsing of this message. I am getting a "ContentID 
is null" message. Is this because I have not specified the MIME type in 
the Client? My client code looks like...


OMElement value = fac.createOMElement("Text", omNs);
DataHandler dh = new DataHandler(new ByteArrayDataSource(s.getBytes()));
OMText text = fac.createText(dh, true);
value.addChild(text);
where s is a String.

The server code to parse this looks like...
OMElement binaryElement = element.getFirstElement();
OMText binaryNode = (OMText) binaryElement.getFirstOMChild();
DataHandler actualDH = (DataHandler)binaryNode.getDataHandler();

Anybody see any problems in this?
Regards,
Brian.

--
Brian Shields BSc. MSc.,
PhD Candidate,
Department of Information Technology,
National University of Ireland,
Galway,
Ireland.


Re: null namespace generated for qualified elements

2006-03-12 Thread Anne Thomas Manes
Vikas,When using the message style interface, your application is responsible for constructing the SOAP Body exactly as you've defined it in your WSDL. According to your WSDL, the Body should contain an element called 
http://myns/schemas/2006/3/3/sci/sciwsdl}PutConfigRequest (not putConfig). Note that your WSDL has a critical namespace error: you don't declare the "tns" namespace (the WSDL target namespace).
AnneOn 3/11/06, Vikas Singh <[EMAIL PROTECTED]> wrote:
Hi,Following is the WSDL:

http://schemas.xmlsoap.org/wsdl/soap/"	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NewWSDLFile"	targetNamespace="
http://myns/schemas/2006/3/3/sci//sciwsdl"	xmlns:xsd1="

http://myns/schemas/2006/3/3/sci/sci">		targetNamespace="

http://myns/schemas/2006/3/3/sci/sciwsdl"			xmlns:scx="
http://myns/schemas/2006/3/3/sci/
"			elementFormDefault="qualified">			namespace="

http://myns/schemas/2006/3/3/sci/sci"schemaLocation="http://localhost:8080/schemas/sci.xsd
" />			

	
		
		
	transport="http://schemas.xmlsoap.org/soap/http
" />	soapAction="

http://myns/schemas/2006/3/3/sci/putSCI" />	
		
	name="config">			location="

http://localhost:8080/jce/services/config" />			I wrap my request xml (which goes into the envelop body into a putConfig to help it identify the 'Message' type method on the server.
public SOAPBodyElement[] putConfig(SOAPBodyElement[] bodies)The xml which I set in the SOAPBodyElement[0] is   xmlns:scx="
http://myns/schemas/2006/3/3/sci/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
" serviceGroup="travelDepartment" >   xmlns:thttp="

http://myns/schemas/2006/3/3/transport"> false   
On the client side log I see org.apache.axis.ConfigurationException: No service named config is available. Though I could see it using the admin page of axis. 
(There is an entry 
 in server-config.wsdd)Another thing which I obseve is java] - org.apache.axis.i18n.resource::handleGetObject

(register00) [java] - register 'soapenv' - 'http://schemas.xmlsoap.org/soap/envelope/
'
 [java] - NSPush (32) [java] - NSPush (32) [java] - org.apache.axis.i18n.resource::handleGetObject(register00) [java] - register 'soapenv' - '

http://schemas.xmlsoap.org/soap/envelope/' [java] - org.apache.axis.i18n.resource::handleGetObject(register00) [java] - register 'xsd' - '

http://www.w3.org/2001/XMLSchema' [java] - NSPush (32) [java] - org.apache.axis.i18n.resource::handleGetObject(register00) [java] - register 'xsi' - '

http://www.w3.org/2001/XMLSchema-instance' [java] - NSPush (32) [java] - org.apache.axis.i18n.resource::handleGetObject(startElem00) [java] - Start element [

http://schemas.xmlsoap.org/soap/envelope/]:Envelope [java] - org.apache.axis.i18n.resource::handleGetObject(startElem00) [java] - Start element [

http://schemas.xmlsoap.org/soap/envelope/]:Body
 [java] - NSPush (32) [java] - org.apache.axis.i18n.resource::handleGetObject(startElem00) [java] - Start element []:putConfig [java] - NSPush (32) [java] - org.apache.axis.i18n.resource::handleGetObject

(startElem00) [java] - Start element []:scx:SCIConfigRoot [java] - org.apache.axis.i18n.resource::handleGetObject(register00) [java] - register 'scx' - ''

 [java] - NSPush (32) [java] - NSPush (32)I think the namespace could be defined at any element in the xml document. This does not seems to be the case. Please correct me If I am wrong.
If I explicitely put the namespace definition in all of the quaulified elements, the method works fine. for example:  xmlns:scx="
http://myns/schemas/2006/3/3/sci/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
" serviceGroup="travelDepartment" >   xmlns:thttp="

http://myns/schemas/2006/3/3/transport"> xmlns:thttp="

http://myns/schemas/2006/3/3/transport" >false  
 
Thank you,Vikas--=_Part_12784_26255881.1141997947598Content-Type: text/plain; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableContent-Disposition: inline
WSDL please?
On 3/9/06, Vikas Singh <[EMAIL PROTECTED]> wrote:>>> Hi,>> I am using Axis 
1.3 . My xsds have elementFormDefault=3D"qualified".  I a=m> trying to send the following xml as a soap request (doc/lit wrapped) .:
> " encoding=3D"UTF-8"?>
> > xmlns:scx=3D"http://myns/schemas/2006/3/3/sci/"
> xmlns:xsi=3D"
http://www.w3.org/2001/XMLSchema-instance
"> serviceGroup=3D"travelDepartment" >
> > "> xmlns:thttp=3D"

http://myns/schemas/2006/3/3/transport">> false> > > 
>> The request body generated by by Axis is as following:> >> 
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=3D"> 
http://www.w3.org/2001/XMLSchema
" xmlns:xsi=3D"> 
http://www.w3.org/2001/XMLSchema-instance">
>   >

Re: Anne can u please tell me what is interoperable data type.

2006-03-12 Thread Anne Thomas Manes
A .Net Dataset is the datatype used by ADO.NET. It contains proprietary data management information, and it should not be exposed via a SOAP/WSLD interface. The Dataset should be converted into an array of structures.
AnneOn 3/10/06, Giri <[EMAIL PROTECTED]> wrote:
hi
 
   Anne this is very urgent,can u please tell me what is interoperable data type.
please give me suggestions for dot.Net web services how it should be?
Which condition he has to set?
dataset means - it has Objects is it?
 
 
 
regards
Giri babu.v 




Re: Cape Clear SOA Editor Tool

2006-03-12 Thread Angelo Immediata
Hi anne; can you send me a copy to this mail: [EMAIL PROTECTED] thanks.
Angelo.

-- Initial Header ---

>From  : "Xinjun Chen" [EMAIL PROTECTED]
To  : axis-user@ws.apache.org
Cc  :
Date  : Sun, 12 Mar 2006 16:58:48 +0800
Subject : Re: Cape Clear SOA Editor Tool







> Hi Anne,
>
> Could you also send me a copy at [EMAIL PROTECTED] or
> [EMAIL PROTECTED]
> Thanks a lot!
>
>
> Regards,
> Xinjun
>
>
> On 3/12/06, anjan bacchu <[EMAIL PROTECTED]> wrote:
> >
> > Hi anne,
> >
> >  many thanks. Can you send me one too ?
> >
> >  Thanks again, in advance,
> >
> > BR,
> > ~A
> >
> >  On 3/7/06, Anne Thomas Manes < [EMAIL PROTECTED]> wrote:
> >
> > > I just received permission from Annrai O'Toole (Founder and Chairman of
> > > Cape Clear) to redistribute the SOA Editor tool. Let me know if you like a
> > > copy, and I'll send it to you.
> > >
> > >
> > > Anne
> > >
> >
> >
> >
> > --
> > BR,
> > Anjan Bacchu
> > Summit Information Systems
> >
>



Re: Cape Clear SOA Editor Tool

2006-03-12 Thread Xinjun Chen
Hi Anne, 
 
Could you also send me a copy at [EMAIL PROTECTED] or [EMAIL PROTECTED]?
Thanks a lot!
 
 
Regards, 
Xinjun 
On 3/12/06, anjan bacchu <[EMAIL PROTECTED]> wrote:

Hi anne, many thanks. Can you send me one too ? Thanks again, in advance,BR,~A

On 3/7/06, Anne Thomas Manes <
 [EMAIL PROTECTED]> wrote:


I just received permission from Annrai O'Toole (Founder and Chairman of Cape Clear) to redistribute the SOA Editor tool. Let me know if you like a copy, and I'll send it to you.  
Anne

-- BR,Anjan BacchuSummit Information Systems