You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Franck HUGOT (JIRA)" <ji...@apache.org> on 2006/02/15 19:33:09 UTC

[jira] Created: (AXIS2-451) Multiple attachments

Multiple attachments
--------------------

         Key: AXIS2-451
         URL: http://issues.apache.org/jira/browse/AXIS2-451
     Project: Apache Axis 2.0 (Axis2)
        Type: Task
  Components: samples, build,site  & docs  
    Versions: 0.94    
 Environment: windows + tomcat 5.5.11
    Reporter: Franck HUGOT


I have a question about multiple attachment generation.
In fact, I want that a web service return an xml and a pdf. I want to use swa because I already implement this protocol in weblogic.
With weblogic I get a wsdl that is not the same as the one generated with axis2 so I think I have a problem on axis2. I'm new in axis2 so I don't know how to implement this and I only find an example with one attachment !

I code this method, is it ok?

    public OMElement[] callBusiness(String ident, String inputXml) throws XMLStreamException 
    {
        // business logic
	return ......;
    }  

I give the 2 wsdl in attachment. 

Thanks a lot if you can give an example of how to return multiple attachment in a web service method.

Thanks a lot





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS2-451) Multiple attachments

Posted by "Franck HUGOT (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-451?page=all ]

Franck HUGOT updated AXIS2-451:
-------------------------------

    Attachment: axis2.wsdl

> Multiple attachments
> --------------------
>
>          Key: AXIS2-451
>          URL: http://issues.apache.org/jira/browse/AXIS2-451
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Task
>   Components: samples, build,site  & docs
>     Versions: 0.94
>  Environment: windows + tomcat 5.5.11
>     Reporter: Franck HUGOT
>  Attachments: axis2.wsdl, weblogic.wsdl
>
> I have a question about multiple attachment generation.
> In fact, I want that a web service return an xml and a pdf. I want to use swa because I already implement this protocol in weblogic.
> With weblogic I get a wsdl that is not the same as the one generated with axis2 so I think I have a problem on axis2. I'm new in axis2 so I don't know how to implement this and I only find an example with one attachment !
> I code this method, is it ok?
>     public OMElement[] callBusiness(String ident, String inputXml) throws XMLStreamException 
>     {
>         // business logic
> 	return ......;
>     }  
> I give the 2 wsdl in attachment. 
> Thanks a lot if you can give an example of how to return multiple attachment in a web service method.
> Thanks a lot

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS2-451) Multiple attachments

Posted by "Franck HUGOT (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-451?page=all ]

Franck HUGOT updated AXIS2-451:
-------------------------------

    Attachment: weblogic.wsdl

> Multiple attachments
> --------------------
>
>          Key: AXIS2-451
>          URL: http://issues.apache.org/jira/browse/AXIS2-451
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Task
>   Components: samples, build,site  & docs
>     Versions: 0.94
>  Environment: windows + tomcat 5.5.11
>     Reporter: Franck HUGOT
>  Attachments: axis2.wsdl, weblogic.wsdl
>
> I have a question about multiple attachment generation.
> In fact, I want that a web service return an xml and a pdf. I want to use swa because I already implement this protocol in weblogic.
> With weblogic I get a wsdl that is not the same as the one generated with axis2 so I think I have a problem on axis2. I'm new in axis2 so I don't know how to implement this and I only find an example with one attachment !
> I code this method, is it ok?
>     public OMElement[] callBusiness(String ident, String inputXml) throws XMLStreamException 
>     {
>         // business logic
> 	return ......;
>     }  
> I give the 2 wsdl in attachment. 
> Thanks a lot if you can give an example of how to return multiple attachment in a web service method.
> Thanks a lot

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-451) Multiple attachments

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-451?page=all ]
     
Davanum Srinivas resolved AXIS2-451:
------------------------------------

    Resolution: Won't Fix

we don't intend to implement SwA in Axis2.

> Multiple attachments
> --------------------
>
>          Key: AXIS2-451
>          URL: http://issues.apache.org/jira/browse/AXIS2-451
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Task

>   Components: samples, build,site  & docs
>     Versions: 0.94
>  Environment: windows + tomcat 5.5.11
>     Reporter: Franck HUGOT
>  Attachments: axis2.wsdl, weblogic.wsdl
>
> I have a question about multiple attachment generation.
> In fact, I want that a web service return an xml and a pdf. I want to use swa because I already implement this protocol in weblogic.
> With weblogic I get a wsdl that is not the same as the one generated with axis2 so I think I have a problem on axis2. I'm new in axis2 so I don't know how to implement this and I only find an example with one attachment !
> I code this method, is it ok?
>     public OMElement[] callBusiness(String ident, String inputXml) throws XMLStreamException 
>     {
>         // business logic
> 	return ......;
>     }  
> I give the 2 wsdl in attachment. 
> Thanks a lot if you can give an example of how to return multiple attachment in a web service method.
> Thanks a lot

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira