Deployable Proxy for Web Service
Hi experts,
i try to create a deployable proxy for my web service. i created a dc in my NWDI configuration. When creating the Client Proxy Definition the ClientAPI.jar is not generated. When try this steps with a local project the API.jar gets generated and i can use this in my web module project.
Is there a difference between, NWDI DC and local project regarding this issue?
Thanks for any help,
Rene
hi
good
go through these links,hope these would help you to solve your problem
http://help.sap.com/saphelp_erp2005/helpdata/en/2d/b9766df88f4a24967dae38cb672fe1/content.htm
http://www.ifi.uzh.ch/archive/mastertheses/DA_Arbeiten_2004/Mueller_Samuel.pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92914af6-0d01-0010-3081-ded3a41be8f2
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0cac0dea-0d01-0010-edb4-8c7b068f4677
reward point if helpful.
thanks
mrutyun^
Similar Messages
-
WSDL error during generation of ABAP proxy for web service
Hi friends,
I am getting error during the generation of ABAP proxy object for web service developed in .NET .
Error : Proxy generation terminated: WSDL error (<extension> not supported).
How to make this WSDL file compatible for ABAP proxy.
I have tried to edit WSDL file in XML Spy but did not get any option to replace/remove the tag <extention>.
If any one worked on this. Please help me its urgent.
Thanks and regards,
Shivanand.HI ,
I am having the same issue!!!
Does ABAP Proxy Generation support <extension> ?
Is there a list available of what is supported and what not (please consider I do not have access to sap notes)?
Thanks -
What the mechanism of the Java Proxy for Web Services in WLS 8.1
Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannonHi Shannon,
The type of proxy I'm familiar with is at the http connection level and
associated with the networking properties in the JDK, See:
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
Your question may be related to JWS proxies, See:
http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
You may want to ask this question in the workshop newsgroup.
Hope this helps,
Bruce
shannon lee wrote:
>
Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannon -
Im am trying to set up my printer for web services and it is asking me for a proxy address
im am trying to set up my printer for web services and it is asking me for a proxy address
Have you downloaded and installed an App Store app that you downloaded free from some website instead of from the App Store? If so, that's a stolen app, and you need to delete it.
-
hi!!!
Could you pls point to any code example.
thanks
Pushpa
"Richard Berger" <[email protected]> wrote:
>
Manoj: Thanks for the answer - do you have or can you point me at any
code samples
that accomplish this? (Yes, .NET is limited to strings/ints in their
get/post
bindings).
Thanks so much!
RB
PS - Also, can you explain any apparent discrepancy between your answer
and what
the WL documentation stated (again, it may be my misunderstanding).
"manoj cheenath" <[email protected]> wrote:
WL 7.0 does allow you to access the web service through
the browser. It even allows you to invoke service methods
with complex type arguments (.Net only supports primitive
types) and also to view the request and response soap
message for the invocation.
regards,
-manoj
"Richard Berger" <[email protected]> wrote in message
news:[email protected]...
This might be a naive question, but according to the documentation,WL 7.0
does
not support http post/get bindings for web services. Thus, for meto
access a
web service, I need to write a "middle tier" of some sort (I used
the
automatically
generated Java proxy code and JSP). All works fine, but it seems
like
it
would
sure be nice to have HTML forms access web services without havingto
write a
middle tier.
NET does this and it is extremely useful - is there a reason that
BEA
chose not
to provide this feature? (e.g. is it architecturally unsound in anyway?
or is
there an easy way to simulate it?). Given some of the Web Workshoppositioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL definesWeb services
as a set of endpoints operating on messages; these message containeither
message-style
or RPC-style information. The operations and messages are describedabstractly
in WSDL, and then bound to a concrete network protocol and messageformat
to define
an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
WSDL is extensible to allow the description of endpoints and theirassociated
messages regardless of what message formats or network protocols areused
to communicate,
however, the only bindings described in the specification describehow to
use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.This isn't a straight FORM Post as in the http binding support in WSDL. It posts
a soap message.
It's apparent that Workshop supports form-post and form-get.
But I dont see how it is done with straight WebLogic webservices. Does WebLogic
server read the web-services.xml or the WSDL file? I dont see a way to put in
http-post binding in the former and in the latter it seems to be ignored.
Can someone clarify.
Thanks.
Chu-chi
"manoj cheenath" <[email protected]> wrote:
Here is a live example:
http://65.193.192.35:7001/base/SoapInteropBaseService
Here is an example that you can download:
http://manojc.com/?sample2
This is how you run it:
http://manojc.com/?tutorial/doc/howtorun.html
More info can be found from the edocs:
7.0:
http://edocs.bea.com/wls/docs70/webserv/index.html
8.1:
http://edocs.bea.com/wls/docs81/webserv/index.html
Regards,
-manoj
http://manojc.com
"pushpa krishna" <[email protected]> wrote in message
news:[email protected]...
hi!!!
Could you pls point to any code example.
thanks
Pushpa
"Richard Berger" <[email protected]> wrote:
Manoj: Thanks for the answer - do you have or can you point me at
any
code samples
that accomplish this? (Yes, .NET is limited to strings/ints in their
get/post
bindings).
Thanks so much!
RB
PS - Also, can you explain any apparent discrepancy between your answer
and what
the WL documentation stated (again, it may be my misunderstanding).
"manoj cheenath" <[email protected]> wrote:
WL 7.0 does allow you to access the web service through
the browser. It even allows you to invoke service methods
with complex type arguments (.Net only supports primitive
types) and also to view the request and response soap
message for the invocation.
regards,
-manoj
"Richard Berger" <[email protected]> wrote in message
news:[email protected]...
This might be a naive question, but according to the documentation,WL 7.0
does
not support http post/get bindings for web services. Thus, for
me
to
access a
web service, I need to write a "middle tier" of some sort (I used
the
automatically
generated Java proxy code and JSP). All works fine, but it seems
like
it
would
sure be nice to have HTML forms access web services without havingto
write a
middle tier.
NET does this and it is extremely useful - is there a reason that
BEA
chose not
to provide this feature? (e.g. is it architecturally unsound in
any
way?
or is
there an easy way to simulate it?). Given some of the Web Workshoppositioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL
defines
Web services
as a set of endpoints operating on messages; these message containeither
message-style
or RPC-style information. The operations and messages are describedabstractly
in WSDL, and then bound to a concrete network protocol and messageformat
to define
an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
WSDL is extensible to allow the description of endpoints and theirassociated
messages regardless of what message formats or network protocols
are
used
to communicate,
however, the only bindings described in the specification describehow to
use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl. -
Why doesn't WL7.0 support get/post bindings for web services ...
This might be a naive question, but according to the documentation, WL 7.0 does
not support http post/get bindings for web services. Thus, for me to access a
web service, I need to write a "middle tier" of some sort (I used the automatically
generated Java proxy code and JSP). All works fine, but it seems like it would
sure be nice to have HTML forms access web services without having to write a
middle tier.
.NET does this and it is extremely useful - is there a reason that BEA chose not
to provide this feature? (e.g. is it architecturally unsound in any way? or is
there an easy way to simulate it?). Given some of the Web Workshop positioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL defines Web services
as a set of endpoints operating on messages; these message contain either message-style
or RPC-style information. The operations and messages are described abstractly
in WSDL, and then bound to a concrete network protocol and message format to define
an endpoint. Related concrete endpoints are combined into abstract endpoints (services).
WSDL is extensible to allow the description of endpoints and their associated
messages regardless of what message formats or network protocols are used to communicate,
however, the only bindings described in the specification describe how to use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.Manoj: Thanks for the answer - do you have or can you point me at any code samples
that accomplish this? (Yes, .NET is limited to strings/ints in their get/post
bindings).
Thanks so much!
RB
PS - Also, can you explain any apparent discrepancy between your answer and what
the WL documentation stated (again, it may be my misunderstanding).
"manoj cheenath" <[email protected]> wrote:
WL 7.0 does allow you to access the web service through
the browser. It even allows you to invoke service methods
with complex type arguments (.Net only supports primitive
types) and also to view the request and response soap
message for the invocation.
regards,
-manoj
"Richard Berger" <[email protected]> wrote in message
news:[email protected]...
This might be a naive question, but according to the documentation,WL 7.0
does
not support http post/get bindings for web services. Thus, for meto
access a
web service, I need to write a "middle tier" of some sort (I used theautomatically
generated Java proxy code and JSP). All works fine, but it seems likeit
would
sure be nice to have HTML forms access web services without havingto
write a
middle tier.
NET does this and it is extremely useful - is there a reason that BEAchose not
to provide this feature? (e.g. is it architecturally unsound in anyway?
or is
there an easy way to simulate it?). Given some of the Web Workshoppositioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL definesWeb services
as a set of endpoints operating on messages; these message containeither
message-style
or RPC-style information. The operations and messages are describedabstractly
in WSDL, and then bound to a concrete network protocol and messageformat
to define
an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
WSDL is extensible to allow the description of endpoints and theirassociated
messages regardless of what message formats or network protocols areused
to communicate,
however, the only bindings described in the specification describehow to
use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl. -
SOA - real time proxy to web service scenario
Hello Experts,
I am working on PI but really very much new to the SOA concept.
But i have to prepare document which explains about all steps that we need to follow (technicallly) for the SOA implementation.
We are going to implement one Proof of Concept for SOA before going for the real project.
Can someone please help me and tell me what all the things i need to do for Proxy to Web Service Scenario in PI.
I hope i have made myself clear about it.
Thanks,
HetalHi Gaurav,
Thanks for your advice.
I have one more question and i tried to explore SDN alot but didnt get satisfactory answer.
here is the situation:
My scenario is like :
.Net application = consumer
ECC = Provider
PI = broker
SR = Publish ES
I am using the Outside - In approach, where i am creating proxy structure in ESR and then creating/ Generating Proxy in ECC.
I am exposing my Inbound Interface on SR, so that the WSDL is available on SR.
Now the situation is, our consumer is asking data from us in different format.
I read on help.sap.com that via PI mapping it is possible.
But i am not understanding that consumer is using ECC WSDL to make a call, then even though mapping is there, how can they get response in their required format.
They are even providing us their WSDL. I am totally confused that in one interface how come two different WSDLs can work?
Or is there a way for this?
I am even ready to use the same structure for my ECC which is provided by consumer, but then i dont see any outcome using PI.
I also have question, that for standard service also, ECC Enterprise service structure is fixed which we expose, then using PI how can we provide consumers response in their desired way.
I know that m asking this question again and again, but still it is not getting clear to me... might be m not understanding that how it works in SOA.
If possible can you tell me the steps that i need to follow technically to develope this interface? so that i can get better understanding?
Thanks,
Hetal -
Building client proxies for web services with SOAP attachemtns
Hi all.
I'm currently building a series of web services that take SOAP attachments as
input, but I am unable to generate the java proxies for testing the services via
WebLogic Workshop 8.1. When I attempt to build the proxy, I get the following
error:
Warning: Failed to generate client proxy from WSDL definition for this service.
Suggestion: Please verify the <types> section of the WSDL.
Is there something I need to alter to get this to work, or does workshop not support
client proxies for web services with DataHandler parameters?
Thanks.
-BrianThanks for the help. This is my first web service with SOAP attachments, so it
may have been a long time till I realized that.
-Brian
"Michael Wooten" <[email protected]> wrote:
>
Thanks Brian,
The problem is that you are trying to use the "document" soap-style :-)
If you change this to "rpc", you'll should be able to successfully generate
the
client proxy jar. The soap-style property, is at the bottom of the "protocol"
property sheet section, for the JWS.
Regards,
Mike Wooten
"Brian McLoughlin" <[email protected]> wrote:
Sure, sorry about that. Attached is the wsdl for a sample web service
I created
just to test the proxy generation.
"Michael Wooten" <[email protected]> wrote:
Hi Brian,
Would it be possible for you to post the WSDL, so we can see what might
be causing
the problem?
Regards,
Mike Wooten
"Brian McLoughlin" <[email protected]> wrote:
Hi all.
I'm currently building a series of web services that take SOAP attachments
as
input, but I am unable to generate the java proxies for testing theservices
via
WebLogic Workshop 8.1. When I attempt to build the proxy, I get the
following
error:
Warning: Failed to generate client proxy from WSDL definition for
this
service.
Suggestion: Please verify the <types> section of the WSDL.
Is there something I need to alter to get this to work, or does workshop
not support
client proxies for web services with DataHandler parameters?
Thanks.
-Brian -
Hi ,
Please let me know about this error?
"" Error Exception caught by adapter framework: Exception in method process.??"
Its a proxy to web service scenario.
Thanks in advance.
Regards
SaiHi,
The best option for searching more information about the error is to use Netweaver Administrator application. In "log viewer application" you can find more detailed information about the error ocurred in your application.
Another option is to analize the trace information in XML Header.
Please, put the detail error text in this forum. It's very difficult for us to help you with this information.
Best regards
Ivá -
Proxy to Web Service Communication doesn't work
Hi,
We configured the XI demo example Checking Flight Seat Availability (Proxy to Web Service Communication) (chapter 6.2) and everything works fine until we try to execute the szenario (chapter 6.2.3).
When we try to execute the szenario, we get an error displayed in the runtime Workbench. In the component Integration Server, we get a systemfailure with code ADAPTER.SOAP_EXCEPTION of category PARSING. The Adapter Engine also displays an error in the audit log:
SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Authority check failed
The User XIAFUSER has SAP-All-authorizations.
Has anybody an idea, whats the problem is?
Greetings
Hildegard
Message was edited by: Hildegard WinterCheck out, that the URL of the WebService is correct:
"http://<YourServer>:<<b>ABAP_Port</b>>/sap/bc/srt/xip/sap/SXIDAL_FLIGHTSEATAVAIL_CHECK?sap-client=<<b>YourClient</b>>"
Change the default values if necessary.
Check in the client, if the role SAP_XI_APPL_SERV_USER (which should be applied to your user) is generated and has no errors.
Regards
Stefan -
Failed to create Proxy for EMFBuilder Service
Hi,
Am installing Eclipse Gemini & Eclipselink as JPA provider in Felix container.
Both bundles are installed fine. After having my persistence bundle that has entity classes & persistence.xml, am getting below error.
Though the persistence bundle also installed with Active status & EntityManagerFactory got initialized, still getting the below error.
Need someone's help on this as soon as possible.
Thanks
Mani
*** FATAL ERROR *** ServicesUtil - Failed to create proxy for EMFBuilder service
28.06.2015 09:17:51.013 *ERROR* [OsgiInstallerImpl] ERROR: EventDispatcher: Erro
r during dispatch. (java.lang.RuntimeException: ServicesUtil - Failed to create
proxy for EMFBuilder service: )
java.lang.RuntimeException: ServicesUtil - Failed to create proxy for EMFBuilder
service:
at org.eclipse.gemini.jpa.GeminiUtil.fatalError(GeminiUtil.java:133)
at org.eclipse.gemini.jpa.ServicesUtil.createEMFBuilderProxy(ServicesUti
l.java:483)
at org.eclipse.gemini.jpa.ServicesUtil.registerEMFBuilderService(Service
sUtil.java:286)
at org.eclipse.gemini.jpa.ServicesUtil.registerEMFServices(ServicesUtil.
java:157)
at org.eclipse.gemini.jpa.GeminiManager.registerPersistenceUnits(GeminiM
anager.java:262)
at org.eclipse.gemini.jpa.PersistenceBundleExtender.registerPersistenceU
nitsInBundle(PersistenceBundleExtender.java:292)
at org.eclipse.gemini.jpa.PersistenceBundleExtender.bundleChanged(Persis
tenceBundleExtender.java:390)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerC
allback(EventDispatcher.java:869)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(
EventDispatcher.java:790)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(Event
Dispatcher.java:515)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4409)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2142)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2070)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
at org.apache.sling.installer.core.impl.tasks.BundleStartTask.execute(Bu
ndleStartTask.java:93)
at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(O
sgiInstallerImpl.java:733)
at org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstal
lerImpl.java:247)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalArgumentException: interface org.osgi.service.jpa.En
tityManagerFactoryBuilder is not visible from class loader
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:487)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:722)
at org.eclipse.gemini.jpa.ServicesUtil.createEMFBuilderProxy(ServicesUti
l.java:480)
... 17 moreTry turning on debug and posting the output. See here for instructions.
-Mike -
Can you suggest me what's best book for Web Services and XML to study? I'm planning to buy..
Thanks in advance..Why does it need to be the best one? What would that even mean? Just buy something reputable, like an O'Reilly book, it's not going to be so horrifically poor that you can't learn from it
-
How to activate trace for web services
Hi Experts,
How to activate trace for web services in SOAMANAGER.
We are not able to view the Payload trace of the error logs.
Can anyone please let me know how to go about this???
Regards,
AshwiniHi Ashwini,
The thread below might be useful to you:
[SOAMANAGER - Get the XML generated;
Regards, Trevor -
What kind of Cellphone supports for Web Services in Java Application?
I have developed a software in J2ME integrated with Web Services!
I am wondering what kind of Cellphone (Nokia, Samsung, ...) supported Web Services now?
Any help is appreciate!Hi Shannon,
The type of proxy I'm familiar with is at the http connection level and
associated with the networking properties in the JDK, See:
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
Your question may be related to JWS proxies, See:
http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
You may want to ask this question in the workshop newsgroup.
Hope this helps,
Bruce
shannon lee wrote:
>
Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannon -
How do i embed a scriptlet inside my JSP page for the stub of my web service? is there any examples that i can refer to?
Thanks in advance. ;)Check out the 2 How To:
9.0.4 / 10.1.2 "How to use OC4J JSP Tags for Web Services" [1].
10.1.3 (preview) "Access J2EE 1.4 JAX-RPC Java Web Services from Web Clients" [2].
Hope this helps,
Eric
[1] http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/wstags/index.html
[2] http://www.oracle.com/technology/products/jdev/101/howtos/jaxrpc/java14_ws_web_clients.html
Maybe you are looking for
-
Podcasts won't sync even though music will
Hi all, weird issue here that seems to have come about (I think) since upgrade to iOS5: Everything syncs across to my iPhone 4, except video podcasts. I checked all of the correct boxes are checked and iTunes sometimes even says it is copying them ac
-
I just noticed that this thread http://discussions.apple.com/message.jspa?messageID=11098474 from February now appears on the list of "My Posts" at #10 among messages I posted yesterday. In addition, all three messages of that thread show a blue half
-
Why do i have 2 g-mail icons pinned to my firefox14.0.1 toolbar?
hello, i have gmail icons pinned to my firefox 14.0.1 toolbar, using appearance extension 1.0.5. i have two gmail accounts, one mine ["A"] and one my partner's ["B"]. but clicking on either of these two toolbar icons only opens my partner's gmail inb
-
Hai Experts, I have one issue. I will explain my secenario please guide me if i am doing wrong... I used receive Solvent GRN, For this solvent first Quality person has to approve the material, then only material will be unloaded, utill & unless unloa
-
So I am trying to make a gradient mesh of the shape shown here... But when I apply gradient mesh to it, I get a very unworkable result (as shown below) ...any suggestions on how I can make this?