Thread: Overloaded Method using Jax-RPC(SI),Contract Last Approch

Forum : Web Service Api?s.   24-1-2016 12:00:00 AM
User Image
Munendra2079

Newbie

Joined: Apr 20, 2017

Points: 100

Threads: 7

Posts: 32

Overloaded Method using Jax-RPC(SI),Contract Last Approch

| Quote Date : Jan 24, 2016    Views:585    

Hello guys , I am trying to implement method overloading in Jax-Rpc(SI) using contract last approch and i am using SoapUi for testing it,when i pass the wsdl url on SoapUi, it generates two method with two different names,but in SEI interface its having a same name.So my que is can we say this is method overloading or not?

tags: java

Comments

User Image
Basanta2041

Newbie

Joined : Apr 20, 2017

Points : 100

Threads: 27

Posts: 139

Re: Overloaded Method using Jax-RPC(SI),Contract Last Approch

Reply Date : Jan 24, 2016

Yup. Observe. Method name append with some value like 1 or 2 based on overloading method

User Image
bharadvaj1258

Newbie

Joined : Apr 20, 2017

Points : 100

Threads: 1

Posts: 7

Re: Overloaded Method using Jax-RPC(SI),Contract Last Approch

Reply Date : Jan 24, 2016

I thnk we can not overload methods in contract last approch. Bt, it is possible in contract first approch. I am uploading sample wsdl.. That may helpful to u.

User Image
Munendra2079

Newbie

Joined : Apr 20, 2017

Points : 100

Threads: 7

Posts: 32

Re: Overloaded Method using Jax-RPC(SI),Contract Last Approch

Reply Date : Jan 25, 2016

Thank you for reply bro,Is there any way to overloading in CL Approch

User Image
Basanta2041

Newbie

Joined : Apr 20, 2017

Points : 100

Threads: 27

Posts: 139

Re: Overloaded Method using Jax-RPC(SI),Contract Last Approch

Reply Date : Jan 25, 2016

Yup take 2 overloading method in Sei interface. interface BookWeb { String getPrice (String isbnNo); String getPrice (String bookName); }

Load More

No More Comments