sairam ballekari

Greenhorn
+ Follow
since Oct 06, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sairam ballekari


Sorry for misleading you,

There are 2 process of data exchanging in my project

1) I am sending some data to 3rd party (here I gave him WSDL which was generated using JAX-WS RI 2.1.3)

2) 3rd party sending some information(they gave me a WSDL which was generated using Apache Axis version: 1.2.1) and I am the receiver for that, both are in a single web service project(Which I am developing).

In order to generate client code from the WSDL which 3rd party is sending to me, I am getting validation errors!!!

How to generate the client stubs with out errors ???

10 years ago
Thank you Ulf Dittmer for this detailed explanation,

Yes I am using JAX-WS RI 2.1.3 for creating WSDL files (that I have done successfully) and I gave that WSDL files to some 3rd party they are using Apache axis 1.2 version for web services.

Recently they gave me a WSDL (WSDL created by Apache Axis version: 1.2.1) which I am attaching to this,

I tried to generate stubs for that WSDL but I failed due to validation errors(MyEclipse IDE), even I tried to generate the stubs in soap UI by downloading and setting preferences of the apache axis 1.2 still I failed what might be the reason for that???


10 years ago
Hi Team,

Greetings for the day!!!

In my project for creating server I have used JAX-WS framework and everything is done perfectly and I have created WSDL for that server, but my client gave me a WSDL which is generated using apache axis 1.2, but while I am creating stubs for that WSDL, some validation errors came.

JAX-WS framework is it compatible with Apache axis WSDL ???

and tell me how to generate stubs for that WSDL, so that I will use them in my project to create OUT BOUND .

The validation errors are which I have got are attached to this.
Please give me soution.

Thanks in advance.
10 years ago


Dear Team,


I am using struts 2 with JPA in application, my issue is

I have a method which is kept in a synchronized block but 2 different users accessing (my web application using my I.P address )same transaction form
after saving same document number means transaction number is duplicating,

Consider this code
public String SaveRecord()
{
synchronized (this)
{
Long number=sometable.getNextno();

presentForm.setDocuumentNumber(number);

presentFormDAO.save(presentForm);//JPA saving data

sometable.setnextNo(sometable.getNextno()+1);

sometableDao.update(sometable); //updating reference table

}

return SUCCESS;
}
When we create a transaction we will get transaction number from a reference table say it as "some table", next No is the field which will increase each and every time we insert record for my "present Form" table.
i.e if 10 records posted into my main table then some table next no will be 11 and I will get the value and assign to the next transaction while saving the form.

here when multiple users saving same form I am getting same transaction number.


Why??

Even it kept under synchronization why multiple records getting same document no.


10 years ago