Mohamed Mostafa

Greenhorn
+ Follow
since Mar 15, 2012
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mohamed Mostafa

Please can anybody help ?
9 years ago
i wanted to add that i am using Oracle weblogic server .. i tested a simple webservice on glassfish it returned string that i want but testing same webservice using weblogic server it still returns complex type so please advice
9 years ago


in the previous code is a webservice that call an ejb and return the result when i tested the webservice it returns a complex type not the result string i even tried to return a simple string from the webservice but it still keep returning complex type don't know the reason !
9 years ago
test is the JNDI name .. whatever i have a dataSource that i need to use i can't know how to call it or why is this error happening
I am trying to make an ejb which connects to a database using JNDI lookup
i am using Netbeans on Glassfish server (only if this info would help)

i have created a datasource on glassfish server for a sybase databse and the connection test went successfully

i have JNDI name: jdbc/test i have made reference and tried to use the look up method but always giving me error this is my code and below will print you the error




ERROR



i am still new in this area i have searched alot for a solution with no help i guess if there any configuration need to be made or what please any one help

Tim Moores wrote:I don't think you'll find much about this, as it is a very specialized topic. Studying the source code of a tool that does it (like SOAPUI, IIRC) might help. Or maybe you can even reuse some of its code, depending on licensing issues.



oh that's so pessimistic well anyways thanks so much for helping
9 years ago

Tim Moores wrote:I don't think you're using the word "proxy" correctly; I don't see where one would be involved here.

So what you actually want to do is to enter the URL of a WSDL, and then access methods defined in that WSDL without any prior knowledge of what's in the WSDL? I think SOAPUI can do that.



so do you advise any tutorials to watch or any good references that can help me ?
9 years ago

Tim Moores wrote:Now I'm confused. What does a proxy have to do with a WS invocation? Should the client access the WS through a proxy? Or what kind of proxy is this?



well suggest that this is the URL of the WSDL : http://localhost:9999/ws/hello?wsdl


what i have meant that the user should enter the proxy which refer to the above link as "localhost" and the port which refers to the above link as "9999"

that's it after that i would like to use a method in that WSDL which for example called " adaptorService " which need a parameter of string and return back another string result.
9 years ago
what about the proxy and port ?
that what exactly would be entered by the user.
and they are part of the URL that's why i thought we can take all the URL from user
so if i want to get only the proxy and port would that differ or the same as you said we cant take that from user and it has to be predefined ?
9 years ago

Tim Moores wrote:What is a "client web service" - are you writing a client for an existing WS? Or are you writing a WS that accesses some other WS that is designated by the WSDL info you're passing to the first WS? TellTheDetails



yes I am writing a client for existing Web Service

i need to create a client which takes the url of the WSDL from the user
and to access a method called adaptorservice in that WSDL which have one parameter as a string and returns string
9 years ago
i am still learning somehow about web service
I need to create a client web service in which the user enters the IP and port of the wsdl url
any help ??
9 years ago