We are attempting to move all of our proxy service and mediation development to Developer Studio, which is the approved and supported method. We have installed Developer’s Studio as per the instructions in the installation guide on several workstations. We have succeeded in deploying some simply proxy services to our shared ESB in our integration environment. As long we stick to simple mediators which do not use Xpath things seem to work fine.
Our next step was to attempt to work through the tutorial presented here:
http://wso2.com/library/articles/2014/06/develop-and-deploy-esb-artifacts-using-wso2-developer-studio/
However, when we attempt to use the properties mediator as described in the tutorial, we are unable to save the proxy service. The error message is XPathFactory#newInstance failed to create an XPath for the default object model http://java.sun.com/jaxp/xpath/dom. The end of the error message is "Illegal Configuration-File Syntax".
Version information: WSO2 Dev Studio 3.7.0. JDK 1.7.0_69.
I can't post the stack trace in full because it goes over the 2 link limit, but the first entry is equivalent to the error message.
The expression generating the error is //heal:getHealthCareCenterInfo/heal:longitude/text()
Related
Tried installing Google SDK on Windows 2016 machine using both online and offline install. In both the cases installation fails with below error. Machine is behind firewall.
ERROR: (gcloud.components.update) Failed to fetch component listing from server. Check your network settings and try again.
When the error: "ERROR: (gcloud.components.list)" appears, it means that GCloud is attempting to make a request to the following url: "https://dl.google.com/dl/cloudsdk/channels/rapid/components-2.json". It seems that your configuration prevents this URL from being fetched, and there could be many factors for this behavior.
My suggestion is to:
Check if dl.google.com is part of the allowed IPs in your firewall rules.
According to the official documentation if you are behind a proxy/firewall, the components that the Cloud SDK installers download from the internet may not work correctly.
Sometimes this error is caused because SSL Cert Verification is failing for the component listing request from Google's servers. I have found a post where someone from the community resolved this issue.
Also, I found this other thread with a similar problem.
For a simpler installation process when proxy configuration is necessary, you might follow these instructions to install the SDK using self-contained versioned archives.
I have found another post where a user with the same error message was able to resolve it only disabling the IPv6, you can use the follow the next guide to disable your IPv6 on windows
I'm working with an older webservice and updating it to coincide with our new system. The previous system using SSMS for databases while the new system is using Oracle databases.
The web service is written in VB (potentially VB6) and ran on IIS to a custom built UI. I'm just looking to update it to look for the correct fields and use the correct query for the new Oracle DBs.
The problem I'm running into is that Microsoft has deprecated the Oracle classes, so trying to use classes like OracleCommand and OracleConnection won't work. Instead, we are opting for an Oracle DLL, specifically Oracle.ManagedData.Access but with IIS compiling the VB code on run, it doesn't find the DLL and causes an error.
Any suggestions on how to get a DLL into the ISS compiler at runtime?
The error I am getting is a Compiler Error.
"Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'OracleCommand' is not defined."
Thanks in advance.
I'm currently experimenting/working on WSO2. What i'm trying to do is to have Data Analytics server configured. I started by following the below specified URL
https://docs.wso2.com/display/AM210/Configuring+APIM+Analytics#9d6747f5c0074928b18599abe472987d (Quick Steps)
After performing all the steps, i get the following issue on APIM cmd prompt
YES Its pretty evident from the error that no such table exists BUT that is exactly the issue i'm facing. What could really be the cause here?
Consider the following points:
I've not followed ALL the steps mentioned on
https://docs.wso2.com/display/DAS310/Getting+Started (BUT are they
required?)
In the installation prerequisites for DAS, JDBC-compliant Connector for Java is required which I've not yet installed (BUT its not mandatory at the same time)
Most of the QUICK STEPS for the configuration of DAS in the specified URL i.e. https://docs.wso2.com/display/AM210/Configuring+APIM+Analytics#9d6747f5c0074928b18599abe472987d where already in place and i only had to
Set Up JDK, ANT, Maven
enable the analytics section in the API-M_HOME/repository/conf/api-manager.xml
add log4j.rootLogger=, DAS_AGENT to API-M_HOME/repository/conf/log4j.properties
add snappy-java_1.1.1.7.jar to DAS_HOME\repository\components\lib
Yet the issue persists, Do let me know of what you think. Thank you
Since you are following quick start guide please extract the WSO2 API Manager and the WSO2 API-M Analytics distributions (zip files), to the same directory (preferably an empty directory).
Also, you need to generate some traffic to the published APIs in order to analytics server to create this table for the first time.
I am developing a ws-bpel process using wso2 developer studio and I am following this Tutorial.
But when I want to deploy the Bpel process on the BusinessProcessServer, I am not able to test it. I get an empty interface.
I must have the request message to send it. I don't have any error in the bpel process when i generated it's .zip file.
Can any one help me please ?
Seems like it is because you have secured the service with UTOverTransport. Try unsecuring the service (Re-secure it later if needed).
I am trying to deploy our proprietary web service application (WAR) into Weblogic 11g server. I have created the WAR using Eclipse Indigo and Java 1.6.
I got the below error,
Messages An error occurred during activation of changes, please see
the log for details. Error encountered during prepare phase of
deploying WebService module 'TWSWebSec.war'. When processing
WebService module 'TWSWebSec.war'. Can't find wsdl
/wsdls/wsc10/wscoor.wsdl When processing WebService module
'TWSWebSec.war'. Can't find wsdl /wsdls/wsc10/wscoor.wsdl
The deployment has been successfully installed.
I tried with a hack of creating wscoor.wsdl into the specified folder and created a new WAR, this time the error was that it is a premature closure of file, which meant the file is identified and there is nothing in the file to read.
After this, i tried to input manually the service, interfaces, operation as per the created Service endpoint interfaces/ Web services, this time i got the error
An error occurred during activation of changes, please see the log
for details. Error encountered during prepare phase of deploying
WebService module 'TWSWebSec.war'. When processing WebService module
'TWSWebSec.war'. Can't find wsdl
/wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl When processing
WebService module 'TWSWebSec.war'. Can't find wsdl
/wsdls/wsc11/wstx-wscoor-1.1-wsdl-200702.wsdl The deployment has
been successfully installed.
Am I missing anything here? Is it a configuration problem? Do I need to update any JARs I use?
Please help. Also let me know if more information required?
I post this because there is a chance that you may be in a case that is similar to what I experienced. I had the same error (i.e. "can't find wsdl") yesterday afternoon when trying to make WebLogic deploy a client created with Eclipse's web service generator using CXF. It just never worked. Today I replaced that client with one made one using WebLogic's generator, also in Eclipse, where it is found under Oracle, WebLogic, Web and Service Client. That worked for me. It seems that WebLogic uses Metro and not CXF. There is certainly nothing wrong with CXF but it does not seem to make a good pair with WebLogic.
Best regards Johannes