  | | | Axis | I am trying attachments with AXIS 1.4. I got a simple string attachment
to work fine. However I am trying to send other objects and
keep getting an error when I run my client.
Exception in thread Hi
> When I monitor using tcpmon I can see the multipart message. However
> when I write the received OMElement on server to system err I see the
> daat inlined in the SOAP body (I assume the toStHi
I think it has been my misunderstanding.
When I monitor using tcpmon I can see the multipart message. However
when I write the received OMElement on server to system err I see the
daat inlinHi
Please see my comments below
On 11/2/07 Massimiliano Masi <massimiliano.masi@(protected) > wrote
> Hi All
>
> I 'm very frustrated I 'm developing policies for getting a SAML 2 token
> from Hi
> I will now look into the Eclipse model classes
> for BPEL files to see whether I can use those to write out BPEL.
You can also try use a BPEL object model representation used by one of
the openWhat is the error you are getting with the following code... If you
can access the DataHandler without calling
"binaryNode.setBinary(true) " that means you are getting it..
Also I do not understand w > k calling setOptimized(false) on OMText is creating the XOP include
> and adding the data to a different mime part rather than inlining in
> the SOAP body
Wiered... Is it setOptimized(t rue) that Anne and Thilina
thanks a lot for taking the time to reply.
Actually I need *libraries* not tools to generate all those
artifacts since I 'm developing a modelling tool to create service
compHi
I can see on the wre (using tcpmon) the XOP include in the SOAP body
however when I receive it on the server the data seems to be
inlined. The code I am using on the server is shown below
k calling setOptimized(false) on OMText is creating the XOP include
and adding the data to a different mime part rather than inlining in
the SOAP body
POST /axis2/exchange HTTP/1.1
Content-Type muHi
This is the output from tcpmon the multipart message is created
however the data is still inlined in the SOAP body.
POST /axis2/exchange HTTP/1.1
Content-Type multipart/related
boundary MIMThanks Thilina. I am just printing the AXIOM message on the server. I was
expecting to see the XOP include inside the SOAP body.
Many thanks
Meeraj
On 11/3/07 Thilina Gunarathne <csethil@(protected)Hi
I am trying to generate wsdl from an interface using java2wsdl tool in Axis2
1.3 but it is not picking up method of the super interface. Though in Axis
1.4 it is quiet possible. I checked documeHi
You can generate the WSDL 's and XSD 's using java2WSDL as Anne
mentioned.. I 'm currently using the Eclipse BPEL editor
(http //www.eclipse.org/bpel/) to design my processes.. It 's still on
MilestonHi
I could not find any obvious mistakes in your code..
What is the tool you are using to trace the messages.. In case you are
using SOAPMonitor it does not show attachments.. Try using TCPMON
(htYou can use a WSDL generator such as Axis2 java2wsdl to generate
both a WSDL and embedded XSDs from your Java objects. You might also
consider using an XML binding framework such as XMLbeans or JAXYou could try interfacing using SwA rather than MTOM. You would have
to convert the WSDL to one that defines the attachment explicitly.
Anne
On 11/2/07 Barlotta Michael [USA] <barlotta_michael@(protected)Upgrade to Axis2.
Anne
On 11/2/07 Roman Sch?nbichler <roman.schoenbichler@(protected) > wrote
> Hey guys!
>
> I 'm trying to build a webservice which is used by a Flash (Flex)
> Client.
>
> I 've seI have this scenario working in Axis 1 which I want to migrate to Axis2
1. A class extending AxisServlet replaces AxisServlet to provide some
additional initialization (via Servlet.init()).
2. Hi
I have been looking at wiriting a client using AXIOM for sending
binary attachments. The code is shown below
public void testExchange() throws Exception {
DataHandler dataHandler nThanks Thilina
I thought I read MTOM support was added in Axis1...
If I understand correctly I need to base64 encode the bytes that are
read from a file and pass that to the JAFDataHandlerSerializeHi
I "m not sure about the level of support for MTOM in Axis 1.4.. IIRC
DIms added some basic support some time back..
Looking at your code you seems to be trying to send the binary data
inline onlyHi all
Has anyone seen this? It was working for me till I tried removing some
of the jar files that are part of axis2. After that I added the removed
ones back in and still get this error. I am uHello
I know this is quite off-topic but since the list I suppose would be
most fitting for my question didn 't respond at all so I thought I 'd
give it a shot here.
I have a model of a businesI created a stub from wsdl from HTTPS port but the uri in the stub shows http with port 80.
Am I doing something wrong or do I have to make changes in tomcat settings or axis settings?
I am using axiLooking for some guidance on Axis1 version 1.4 help building a WS Client
that can interact with a MTOM WebService.
I am building the client using the Service and Call objects
The input to the servicFYI
I finally got it working. turns out it is a classpath issue.
I have CXF and Axis2 in the same eclipse project and Java WS clients
written with both frameworks.
I moved the Axis2 WS Client to Then I leave you with the problem Mike since I am not an Axis2 guru.
Final suggestions
1. Build a CXF client. Does the problem still exist? (I 'd do this first
to prove the CXF service is behaving p
I just love having these conversations with myself but for anybody who is
interested I didn 't want to leave the impression that the correct solution
was to modify the wsdl2java generated code.
Here
Rampart policy sample 01 demonstrates how to do a UT token. Note that it
uses a "Signed Supporting Token " but since it uses a TransportBinding the
token doesn 't get signed.
Feng Lu wrote
>
> H |
|
 |