473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Axis Client problem

I'd create a webservice with TIBCO and an Axis Client.

I'd enable the log4j, noticed that my soap event envelope as follow:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ServiceEnvelope xmlns="">
<ns1:ServiceHeader xmlns:ns1="http://schemas.com/soa/emf/common/envelope/">
<ns2:CommonDetail xmlns:ns2="http://schemas.com/soa/emf/common/header">
<ns2:ServiceName>ENS-Notf-S
</ns2:ServiceName>
<ns2:OperationCode>000
</ns2:OperationCode>
<ns2:EMFVersion>Version 1.0
</ns2:EMFVersion>
<ns2:ServiceVersion>000
</ns2:ServiceVersion>
<ns2:OperationVersion>000
</ns2:OperationVersion>
<ns2:RqUuid>11114
</ns2:RqUuid>
<ns2:RqDateTime>2006-07-26T04:28:20.165Z
</ns2:RqDateTime>
<ns2:RqExpiryTime>10000
</ns2:RqExpiryTime>
<ns2:RqNature>
<ns2:TransactionCode>000
</ns2:TransactionCode>
<ns2:TransactionRefNo>1111111
</ns2:TransactionRefNo>
<ns2:TransactionMode>SEND
</ns2:TransactionMode>
<ns2:RqStatus>INQUIRY
</ns2:RqStatus>
</ns2:RqNature>
</ns2:CommonDetail>
</ns1:ServiceHeader>
<ns3:ServiceBody xmlns:ns3="http://schemas.com/soa/webservice/service/Req/ENS-Notf-S">
<ns4:RqDetail xmlns:ns4="http://schemas.com/soa/emf/service/ENS-Notf-S">
<ns4:OG>
<ns4:message_push id="Velocity" priority="normal">
<ns4:title>Test
</ns4:title>
<ns4:sender>Velocity
</ns4:sender>
<ns4:recipient>
<ns4:user_id>
</ns4:user_id>
<ns4:name>TKA
</ns4:name>
<ns4:contact type="email">tayka@com
</ns4:contact>
</ns4:recipient>
<ns4:message>
<ns4:subject>test subject
</ns4:subject>
<ns4:body>This is a test message
</ns4:body>
</ns4:message>
</ns4:message_push>
</ns4:OG>
</ns4:RqDetail>
</ns3:ServiceBody>
</ServiceEnvelope>
</soapenv:Body>
</soapenv:Envelope>

On the other hand, exception occurs and data has become:

{}Data:<inputMessage xmlns=""><ServiceEnvelope xmlns="" xmlns:soapenv="h
ttp://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLS
chema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ServiceEnvelope xm
lns=""><ns1:ServiceHeader xmlns:ns1="http://schemas.com/soa/emf/common/enve
lope/"><ns2:CommonDetail xmlns:ns2="http://schemas.com/soa/emf/common/heade
r"><ns2:ServiceName>ENS-Notf-S</ns2:ServiceName><ns2:OperationCode>000</ns2:Oper
ationCode><ns2:EMFVersion>Version 1.0</ns2:EMFVersion><ns2:ServiceVersion>000</n
s2:ServiceVersion><ns2:OperationVersion>000</ns2:OperationVersion><ns2:RqUuid>11
114</ns2:RqUuid><ns2:RqDateTime>2006-07-26T04:28:20.165Z</ns2:RqDateTime><ns2:Rq
ExpiryTime>10000</ns2:RqExpiryTime><ns2:RqNature><ns2:TransactionCod e>000</ns2:T
ransactionCode><ns2:TransactionRefNo>1111111</ns2:TransactionRefNo><ns2:Transact
ionMode>SEND</ns2:TransactionMode><ns2:RqStatus>INQUIRY</ns2:RqStatus></ns2:RqNa
ture></ns2:CommonDetail></ns1:ServiceHeader><ns3:ServiceBody xmlns:ns3="http://s
chemas.com/soa/webservice/service/Req/ENS-Notf-S"><ns4:RqDetail xmlns:ns4="
http://schemas.com/soa/emf/service/ENS-Notf-S"><ns4:OG><ns4:message_push id
="Velocity" priority="normal"><ns4:title>Test</ns4:title><ns4:sender>Velocity</n
s4:sender><ns4:recipient><ns4:user_id/><ns4:name>TKA</ns4:name><ns4:contact type
="email">tayka@com</ns4:contact></ns4:recipient><ns4:message><ns4:subject>t
est subject</ns4:subject><ns4:body>This is a test message</ns4:body></ns4:messag
e></ns4:message_push></ns4:OG></ns4:RqDetail></ns3:ServiceBody></ServiceEnvelope
></ServiceEnvelope></inputMessage>

"ServiceEnvelope" had been send twice.

Need to know how can i resolve this problem.
Jul 26 '06 #1
0 1449

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Anand Natrajan | last post by:
Hi! I have a VB .NET client that is accessing an rpc/encoded service deployed in Axis 1.2. One of the operations, whoami, returns a string array. The server-side Java signature of this method is...
1
by: Falk Sippach | last post by:
Hello, I've written an Axis Webservice in Java. Everything works fine with clients in Java or .net. Now I'm trying to write a client in C++. I've downloaded the latest Axis C++ distribution. If...
1
by: Dave Keays | last post by:
I am setting-up an experimental web service using Apache Axis but I'm having problems. AXIS can't find a library that I've verified exists on my computer and that CLASSPATH points to it. I'm using...
3
by: Jacky Zhu | last post by:
Hi all, I am having a problem trying to consume a webservice that is developed on ..Net. I can access it without any problem using a .net client, but when I use a java client (based on Axis...
3
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
7
by: Jamie Phillips | last post by:
I'm sure this topic has been "around the block" a few times, but I have not been able to find ANY solutin that fits this particular problem. I have written a Java Axis web service that has a method...
3
by: Moshe Kravchik | last post by:
Hi! We have a Web Service written in ATL Server and a client written in Java using Axis. When something goes wrong on the server side, it returns an HRESULT of the error which is translated into...
5
by: vthakur | last post by:
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the...
0
by: karazy | last post by:
I have been reading all the forums and understand whats going wrong but am not sure how to fix it. I have written a basic doc/literal web service. But when it is called by a .net client it will...
4
by: nawrin22 | last post by:
hi.. I am a niwebie in 'AXIS' . but i had correctly installed it without any problem with the help of 'apache.axis.install.pdf' and also tested the examples under 'samples\userguide' directoy...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.