Change in the Studio's web service port
Hellodid anyone know, where I can change the web service port 9000 in Oracle BPM Studio?
Thanks for your help!
Kind regards
Matthias
Hi Matthias,
I already told you how do it, but I'm posting for the rest of the population:
I didn't know a place in the Studio to set this up, but I can't givo you workaround.
Change your engine.xml you should have in your eclipse workspace: ProjectName/config and the basis of the file, you have an entry that is wsListenerPort. Put these lines:
Tags: Fusion Middleware
Similar Questions
-
Unable to connect to the server of Web Services
Hello
I'm trying to implement my C310a for the first time.
The printer is connected to my wireless router.
My computers and iPads can access and print using the printer.
BUT when I try to use Web tools
(1) product update,
(2) activate ePrint or
(3) enable Web Services
I get the error message USELESS "Problem connecting to the server of Web Services"
I am able to connect to the Internet using a web browser, so I don't have an ISP issue.
I'll put in place the printer at home behind a CGD24N wireless router.
The implementation for the browser does not use a proxy, so I have no proxy information.
Is anyone able to help.
Thank you
David
I worked on it.
I had put the impression of having a static IP address and did not address primary and auxiliary DNS server.
Once he had these links now.
Thank you.
-
Problem during the deployment of web services - bad location of WSDL files inside the jar
Hi all.
I create my web service from wsdl.
First of all I run wsdlc and download archive jar that contains the generated sources - the highest level, it looks like this:
META-INF
MyPackage
WSDLs
After this, I change my web service class, in particular, that I decided that it will be session bean thus the SessionBean interface.
Then I run jwsc and download archive final jar - module EJB with WebService
The highest level, it looks like this:
META-INF
MyPackage
And META-INF contains among other WSDL directory files.
Everything seems OK, but when I try to deploy this I get an error (which I assume is caused by poorly located inside the ejb module generated WSDL files directory, it should probably be at the root of the jar not in META-INF):
Please help me to force jwsc to generate the module with good location of WSDL dir files.
WSDLC INVOCATION:
< by default of the project = "generate-EventNotifierService-of-wsdl" >
< taskdef = classname="weblogic.wsee.tools.anttasks.WsdlcTask"/ "wsdlc" name >
< name target = "generate-EventNotifierService-of-wsdl" >
"< wsdlc srcWsdl="src/main/wsdl_resources/EventNotifierService.wsdl ' destJwsDir = 'target' destImplDir = 'target' packageName = "mypackage" type = "JAXRPC" >
< / wsdlc >
< / target >
< / project >
JWSC INVOCATION:
< by default of the project 'build EventNotifierService wsdl' = >
< taskdef = classname="weblogic.wsee.tools.anttasks.JwscTask"/ "jwsc" name >
< name target = "build EventNotifierService wsdl" >
< jwsc srcdir = ' src/main/java' destdir = 'target' encoding = "UTF-8" >
< queue = "mypackage/EventNotifierService.java TJ' compiledWsdl =" '... / peg-eai-wsdl/target/EventNotifierService_wsdl.jar ' "
Type = "JAXRPC" >
< / TJ >
< / jwsc >
< / target >
< / project >
ERROR:
# < 24 March 2009 14:21:35 THIS > < error > < hats > <>< AdminServer > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1237900895770 > < BEA-149205 > < failed to initialize application "port" because of the error weblogic.application.ModuleException: Exception preparation module: EJBModule (EventNotifierService - 1.0 - SNAPSHOT.jar)
Unable to deploy EJB: EventNotifierService - 1.0 - snapshot.jar EventNotifierService-1.0 - snapshot.jar:
WSDL "wsdls/EventNotifierService.wsdl" is not in the deployment weblogic.utils.jars.JarFileDelegate@2bb9f2 - /var/peg/domains/wldev4/wldev4_domain/servers/AdminServer/tmp/_WL_user/port/edc553/EventNotifierService-1.0-SNAPSHOT.jar
.
weblogic.application.ModuleException: Exception preparation module: EJBModule (EventNotifierService - 1.0 - SNAPSHOT.jar)
Unable to deploy EJB: EventNotifierService - 1.0 - snapshot.jar EventNotifierService-1.0 - snapshot.jar:
WSDL "wsdls/EventNotifierService.wsdl" is not in the deployment weblogic.utils.jars.JarFileDelegate@2bb9f2 - /var/peg/domains/wldev4/wldev4_domain/servers/AdminServer/tmp/_WL_user/port/edc553/EventNotifierService-1.0-SNAPSHOT.jar
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
to weblogic.management.deploy.internal.AppTransition$ 1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
weblogic.wsee.ws.WsException: wsdl "wsdls/EventNotifierService.wsdl" is not in the deployment weblogic.utils.jars.JarFileDelegate@2bb9f2 - /var/peg/domains/wldev4/wldev4_domain/servers/AdminServer/tmp/_WL_user/port/edc553/EventNotifierService-1.0-SNAPSHOT.jar
at weblogic.wsee.deploy.WSEEEjbModule.loadWsdlDefinitions(WSEEEjbModule.java:130)
at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:292)
at weblogic.wsee.deploy.WSEEModule.verifyWsdd(WSEEModule.java:147)
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:106)
at weblogic.wsee.deploy.WsEJBDeployListener.prepare(WsEJBDeployListener.java:36)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1193)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:425)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
to weblogic.application.internal.BaseDeployment$ 1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
to weblogic.management.deploy.internal.AppTransition$ 1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>I think that the only solution is to manually update the webservices.xml.
-
The use of Web services in BPM 12 c
Hi all
I seem to be a beginner with this discussion, but I was able to do in Jdev 11.1.1.7 and now with the 12 c I don't know how to do.
I develop a process BPM SOA 12 c and I need to call a web service to exernal.
In version 11 of composite, I clicked on right click and then insert and WebService.
Now in version 12 c after a right-click in the list is not present.
See the attachmement for a better understanding
Could someone give me some ideas how to do it?
Concerning
In 12 c SOA, webservice name change just for SOAP.
Webservice call just drag / move the SOAP component.
-
Hello
I have a use case in which I'll call synchronous external Web Service and the form of this service, I get the answer after 80 seconds.
I know that this console form EM soa-infra-> SOA Administration-> BPEL proprieties-> under 'more BPEL Configuration Properties..' in SyncMaxWaitTime can I change the default 45 second in 80 seconds, but it will apply to all synchronous services in this area, and I want only the value appeal of Web Service of particular external reference (link partner).
For the limit of timeout for the particular web service (partner of external reference link):
I saw a post at < http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes > in which there is an option in 'Link partner Edit' form property tab dialog box, we can add "timeout" property but in SOA Suite11.1.1.7 I am not able to find this property form the list.
on this post < http://abhishek-soablog.blogspot.in/2010/06/timeout-for-partnerlink.html > is also described the same way, but it's just the source code of the highest way of GUI to set the timeout property and it does not work with a new version.
Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).
Thank you
Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).
VR;
Click em-> composite-> Services and references-> select need to reference and click on-> properties: 'HTTP Timeout of read' and 'HTTP timeout.
developing composites:
Click on a reference-> property inspector-> link properties-> plu green and add oracle.webservices.httpConnTimeout with the necessary value and oracle.webservices.httpReadTimeout with the necessary value
for the same domain defined: oracle.webservices.local.optimization = false
You can watch
Administration of Web Services - 11g Release 1 (11.1.1.7)
How to set a timeout for a Web Service in SOA 11 g (Doc ID 979683.1)
SOA 11 g: political malpractice not to intercept 'service Endpoint unreachable' error (Doc ID 1503989.1)
-
Basic questions about the PL/SQL web services and data source names
Hello
I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).
The following code was generated in the base class for web services:
However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.__dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?
Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?
Thank you
LuisI forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
.
JDBC/ref_name_from_web. XML
JDBC/new_jndi_name
.
And in this way, you will not have to change any code level to point your web service to another connection.Vishal-
-
Error SSE2 optimization in the deployment of Web Services
I'm migrating from 2010 to 2011 SP1 web service [because web services 2010 SP1 were buggy]. At first, I could build and deploy the code very well. Now, I get the following deployment error:
LabVIEW error: (Hex 0xFFFEFA45) LabVIEW Web Services: call to create a VI reference failed. The target does not support SSE2 optimization. Disable SSE2 optimization in the Advanced dialog box of the Web Service Properties page before continuing.
Based on the online documentation, my hardware can support SSE2 - but no matter, I disabled it anyway. The error message persists. This message means anything this SSE2 optimization is enabled and is not supported? Based on the text of the error, it seems that turning off optimization should probably fix the problem...
-
JDeveloper 12.2.1.0.0 do not add the header of web service security
Hello
I write simple WebService Java Client to a simple wsdl.
If I click with the right button on the WSDL file and say 'Test Web Service', a request was made for me by Jdeveloper, all I have to do is click the box include the username and password for SOAP Header-> Header WS:Security and under the "security-> UserNameToken" and my request now has a security header
" < = xmlns:env env:Envelope ' http://www.w3.org/2003/05/soap-envelope "xmlns:ns1 =" " http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd "xmlns:ns2 =" " http://Oracle.apps.CTB.cdapersistence.types ">
< env:Header >
< ns1:Security >
< ns1:UsernameToken >
WebLogic < ns1:Username > < / ns1:Username >
password < ns1:Password > < / ns1:Password >
< / ns1:UsernameToken >
< / ns1:Security >
< / env:Header >
< env:Body >
< ns2:PersistCDADocumentRequest >
< ns2:Document / >
< / ns2:PersistCDADocumentRequest >
< / env:Body >
< / env:Envelope >
I tried 3 separate ways to do it in my Java Web Service Proxy and all 3 have failed, the demand created by my java code does not include the security header and don't include that the < env:Header / > why are my bottom 3 attempts of creation of the grave security header down when they are means documented to supply security headers? Help, please
Method 1:
Map < String, Object > requestContext = (cDAPersistenceServicePortType) .getRequestContext ((BindingProvider));
requestContext.put (BindingProvider.USERNAME_PROPERTY, "weblogic");
requestContext.put (BindingProvider.PASSWORD_PROPERTY, "password");
Methos 2:
Map < String, Object > requestContext = (cDAPersistenceServicePortType) .getRequestContext ((BindingProvider));
Map < String, List < String > > headers = new HashMap < String, List < String > > ();
headers.put ("Username", Collections.singletonList ("weblogic"));
headers.put ("Password", Collections.singletonList ("password"));
requestContext.put (MessageContext.HTTP_REQUEST_HEADERS, headers);
Methos 3:
@Generated ("oracle JDeveloper")
public static void setPortCredentialProviderList (map < String, Object > requestContext) bird Exception {}
TODO - provides the required identification information values
String username = "weblogic";
String password = "password";
credList.add (getUNTCredentialProvider (username, password));
requestContext.put (WSSecurityContext.TRUST_MANAGER, new TrustManager() {}
{public boolean certificateCallback (X509Certificate [] string, int validateErr)
Boolean result =
(string! = null & & chain.length > 0) & & (chain [0] (serverCert) .equals | chain [0] .equals (clientCert));
return the result;
Returns true;
}
});
credList.add (getSAMLTrustCredentialProvider ());
requestContext.put (WSSecurityContext.CREDENTIAL_PROVIDER_LIST, credList);
}
@Generated ("oracle JDeveloper")
public static CredentialProvider getUNTCredentialProvider (String username, String password) {}
new return ClientUNTCredentialProvider (username.getBytes (), password.getBytes ());
}
@Generated ("oracle JDeveloper")
public static CredentialProvider getSAMLTrustCredentialProvider() {}
return new SAMLTrustCredentialProvider();
}
found an answer here - http://stackoverflow.com/questions/5976940/how-to-add-soap-header-in-java
-
How to limit the appeal of Web service method when the page loads?
Hello
I have an a choice selection list that is populated using a web service method. There are several different lists on the page. When a page loads, all of these methods of service web (methods are inside the POJO class) are executed.
I would like to limit the call to the web service methods. The call occurs even if the component is not rendered. Basically, all methods in the page links are executed during the loading of the page. Is there a way to limit this behavior?
More time is consumed during the loading of the page. Can someone help me on this?
JDeveloper Version: 11.1.1.7.1
Thank you
Malenfant.You can play with the value of the condition of discount for links - see for example:
https://blogs.Oracle.com/Shay/entry/delay_method_execution_when_us
-
The consumption of web services and paging data.
Hi all
I am building an ADF application where I need to make web service calls to two different external systems. Each of them say return 50 records. On the user interface, I want to display 10 records at a time. Also, I need check duplicate records.
What is the best approach in this case. Will I call the web services and generate the data in a temporary table and ADF - BC allows to display these data on the user interface. In this case set the data of a given user will be a challenge. Or will I programatically create 100 your and use them to display data on the UI (tabular) with paging option.
Help, please!
Yes, the pagination of POJO would be appropriate.
-
How can I pre-fill fields to file a form for the change of the elements of web application?
When you change an app via a web form item, I'm full text fields, but not the file type of the fields.
-What did I do wrong here? Your help will be very appreciated.
Thanks in advance!
Diego
It's not you, it's the browser security model. You are unable to access details of all the files that the user has not explicitly provided to your page.
-
How to pass the name of user and password to BPEL of the java proxy web service?
Hi all
Environment: SOA Suite 11g
I use basic http authentication in my SOA services using a strategy of "oracle/wss_http_token_client_policy. Now, I need to call these SOA web services from a java proxy.
Please let me know how this can be done.
Thanks in advanceHave you tried the messages below?
BPEL to invoke the secure with HTTP Basic authentication Web service
Call a BPEL process using the HTTP Basic authenticationhttp://docs.Oracle.com/CD/E21764_01/Web.1111/e13713/owsm_appendix.htm#CHDBAHBI
Thank you
Vijay -
The performance of web services ERPi
We use the ERPi to load the data and metadata of planning. We have done successfully.
Now we need to automate the process of loading data/metadata. I read the Administrator's guide to web services Section "A". I'm still not clear. Anyone of you, please give me more details on the automation process?
Thank youSorry, I read too fast: Sorry, I've never used ERPi without FDM :-/
-
ORA - 31050:Access refused when trying to activate the native database Web servic
Hi all
I try to follow the instructions of OBE on "using Oracle XML DB Web Services for Service-Oriented Architecture" as this url http://st-curriculum.oracle.com/obe/db/11g/r1/prod/datamgmt/xmldb2_b/xmldb2_b.htm#http.
I would like to enable native database Web service endpoint in Oracle XML DB, and I have already run the script to create Web Service endpoint.
In any case, I got the following error.
ORA-31050: access denied
ORA-06512: at "XDB". DBMS_XDB', line 528
ORA-06512: at "SYSTEM. ADDSERVLETMAPPING', line 91
I found that this procedure has been created the diagram of the system, but the problem occurs when I tried to call the ADDSERVLETMAPPING procedure.
It is a code that I used to activate.
set pagesize 100
set linesize 132
long value 20000
set echo on
-conn sys/oracle as a sysdba
create or replace procedure addServletMapping (model varchar2,
ServletName varchar2,
dispname varchar2,
servletclass varchar2,
servletschema varchar2,
language varchar2,
Description varchar2,
securityRole xmltype) as
xmltype xdbconfig.
Start
xdbconfig: = dbms_xdb.cfg_get ();
Select deleteXML
(
xdbconfig,
' / xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-list/servlet [servlet-name = "" | "] servletname | '"]'
)
in the xdbconfig
Double;
If (language = 'C') then
Select insertChildXML
(
xdbconfig,
"/ xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-list."
"servlet",.
xmlElement
(
"servlet",.
xmlAttributes (like "xmlns", ' http://xmlns.oracle.com/xdb/xdbconfig.xsd'),
xmlForest
(
ServletName "servlet- name."
as "servlet-language."
dispname as "display name."
Description like "description".
),
securityRole
)
)
in the xdbconfig
Double;
on the other
Select insertChildXML
(
xdbconfig,
"/ xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-list."
"servlet",.
xmlElement
(
"servlet",.
xmlAttributes (like "xmlns", ' http://xmlns.oracle.com/xdb/xdbconfig.xsd'),
xmlForest
(
ServletName "servlet- name."
as "servlet-language."
dispname as "display name."
Description as "description."
servletclass "servlet-Class."
servletschema as "servlet-pattern".
)
)
)
in the xdbconfig
Double;
end if;
Select deleteXML
(
xdbconfig,
' / xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-mappings/servlet-mapping [servlet-name = "" | "] servletname | '"]'
)
in the xdbconfig
Double;
Select insertChildXML
(
xdbconfig,
"/ xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-mappings.
servlet "mapping."
XmlType
(
' < servlet-mapping xmlns = "http://xmlns.oracle.com/xdb/xdbconfig.xsd" >
< servlet-model > ' | model | "< / servlet-model >
< name servlet - > ' | ServletName | "< / servlet-name >
< / servlet-mapping > '
)
)
in the xdbconfig
Double;
xdb.DBMS_XDB.cfg_update (xdbconfig);
end;
/
Call addServletMapping)
' / orawsv / *'.
"orawsv,"
'Oracle Web Service request',
NULL,
NULL,
« C »,
"Web Servlet Services."
XmlType)
' < security-role-ref >
< Role name > XDB_WEBSERVICES < / role name >
< Role link > XDB_WEBSERVICES < / role-link >
< / security-role-ref > '
)
)
/
Call addServletMapping)
' / orawsdl / *'.
"orawsdl,"
"Oracle WSDLs.
NULL,
NULL,
« C »,
"WSDL Servlet.
XmlType)
' < security-role-ref >
< Role name > XDB_WEBSERVICES < / role name >
< Role link > XDB_WEBSERVICES < / role-link >
< / security-role-ref > '
)
)
/
-grant XDB_WEBSERVICES oe
grant XDB_WEBSERVICES to TESTDB
/
-For 11 g only
-grant XDB_WEBSERVICES_OVER_HTTP oe
grant XDB_WEBSERVICES_OVER_HTTP to TESTDB
/
-grant XDB_WEBSERVICES_WITH_PUBLIC oe
grant XDB_WEBSERVICES_WITH_PUBLIC to TESTDB
/
-Clean afterwards
drop procedure addServletMapping
/
Kind regards
Zenoni
Published by: zenoni on January 28, 2011 10:18Add the possible servlet mapping only by a user with the XDBADMIN or DBA roles
-
Flex to the problem of web service communication
Hi, just like the title of State, I have problem during the web service-> Flex communication. I use class WebService ActionScript, to establish a connection with her, but I had a strange behavior. When I try to access the remote web services (particularly: http://109.74.206.146:8080/jax_ws/quarkservice? wsdl ) of my Flex Builder IDE, all is well. Even more, when I spend my folder and click ProjectName.swf project folder, without any server runs on my pc, the file is executed, communication with the web service is impeccable performed and response is retrieved. However, when I try to export a release build and to my Tomcat localhost, or if I try to copy ProjectName.swf to any other location on my drive, since the location of the project, where is stored, I got:
1. [RPC Fault faultString = "Error in security to access the url" faultCode = "Channel.Security.Error" faultDetail = "unable to load WSDL. If there are currently online, please verify the format of the WSDL and URI file (http://109.74.206.146:8080/jax_ws/quarkservice? wsdl) "] "
2A mx.rpc.wsdl::WSDLLoader/faultHandler() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDLLoader.as:98]
3A flash.events::EventDispatcher/dispatchEventFunction()
4. in the flash.events::EventDispatcher/dispatchEvent()
5 at mx.rpc::AbstractInvoker /() [E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168] http://www.adobe.com/2006/flex/mx/internal:dispatchRpcEvent
6 to mx.rpc::AbstractInvoker /() [E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:220] http://www.adobe.com/2006/flex/mx/internal:faultHandler
7A mx.rpc::Responder/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]
8A mx.rpc::AsyncRequest/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
9A DirectHTTPMessageResponder / securityErrorHandler ([E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368])
10. at flash.events::EventDispatcher/dispatchEventFunction()
11. in the flash.events::EventDispatcher/dispatchEvent()
12. to flash.net::URLLoader/redirectEvent()
[Error CPP faultString = "Error in security to access the url" faultCode = "Channel.Security.Error" faultDetail = "unable to load WSDL.
< br / > if there are currently online, please verify the format of the WSDL and URI file (http://109.74.206.146:8080/jax_ws/quarkservice? wsdl) "] to "
MX. RPC.wsdl::WSDLLoader/FaultHandler() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\wsd l\WSDLLoader.as:98]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent() to mx.rpc::AbstractInvoker / http://www.Adobe.com/2006/Flex/MX/internal:dispatchRpcEvent ([E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168])
to mx.rpc::AbstractInvoker / (http://www.adobe.com/2006/flex/mx/internal::faultHandler) [E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc \AbstractInvoker.as:220] )
at mx.rpc::Responder/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]
at mx.rpc::AsyncRequest/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
to DirectHTTPMessageResponder / securityErrorHandler ([E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368])
at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/redirectEvent()
Thus the same file committed since the FlexBuilder or invoked directly from the folder of the project, where it resides, works perfectly. When I try to call from a DIFFERENT location, including deployment on my local Tomcat (or even just my office), I got the above exception. So, anyone know what is the problem? Thank you
There is an implicit approval when you run the application in Flex Builder. Outside of Flex Builder, if the call to the Web service is not mandated by LiveCycle Data Services, Flash Player security will not allow the connection the remote service.
Try to add a crossdomain.xml to the ROOT.war of your respective application server. Something like that...
http://www.Macromedia.com/XML/DTDs/cross-domain-policy.DTD">
Steve
Maybe you are looking for
-
As above... in the last two weeks, as it happened, it's like the left column disappeared.
-
Access to CNET Download get intercepted by helpingtrk
Several times I tried to access download.cnet.com and get redirected to an ad for computer backup. I clicked the «notify... redirect...» "and now, Firefox displays the CNET page for a few seconds, then redirects to helpingtrk.com and displays a warni
-
Keyboard keyboard G500s problem
Hello I have Lenovo G500s-20245. My keyboard is not working like it used to. All shortcuts cannot be performend. I mean the function F work with the fn, but when I click just F4 it should close the program or F7 there should go to airmode, or f9 with
-
I've updated the xbox one I like the new layout, but does not react too well what he did after the update my xbox has slowed and the worst of all he has caused my games Crash when I play. 1 slowed much in all that (treatment) 2. does not at times 3.
-
Unable to uninstalled live 3D Dolphin sreensaver
I cought don't uninstall 3d screensaver of live dolphins.