Error "Problem building schema" while invoking external webservice
Hi,
I have following problem:
I created 2 BPEL processes.
One of these processes should be called from the other as a partnerlink.
When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I try to access the input variable that was created by the invoke activity.
I have tried a lot of things but keep on getting this error.
When I create a new, empty BPEL process, and do exactly the same it does work!
any help would be greatly appreciated.....
Hi,
I have given this URL 'http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL'.
Now it is showing the following error
Exception occured in library handler.Not implemented.
Exception of class CX_SIDL_INTERNAL_ERROR
Please have a look into it
Regards,
Dhana
Similar Messages
-
Partnerlink - Problem building schema
Hi,
I have following problem:
I created 2 BPEL processes.
One of these processes should be called from the other as a partnerlink.
When I create the partnerlink, pointing to the deployed wsdl, I get following error "Problem building schema" when I try to access the input variable that was created by the invoke activity.
I have tried a lot of things but keep on getting this error.
When I create a new, empty BPEL process, and do exactly the same it does work!
any help would be greatly appreciated.....Hello,
please be careful with the "Problem building schema"-error not to mix up the reasons. As far as I know this error can be caused by different ways, e. g. schema is not valid, wsdl is not accesible...
Therefore please check at first of a local copy of the wsdl is working or not. In lather case there might be a trouble in the wsdl, more preciously in type definition.
@Ruerd: If you want I can have a look at your wsdl to see if it is valid - just post the code here.
BR,
Hansi -
Bpel variables return Http 503 (problem building schema) error
First of all if I have posted this in the wrong forum, I apologise in advance.
I have recently installed the Oracle SOA suite and I have downloaded JDeveloper 10.1.3.3, I am running the (http://download.oracle.com/otndocs/products/bpel/orderbooking.pdf) Oracle® BPEL Process Manager Tutorial and when attempting to create a copy rule I have noticed that some of my variables return the following error:
Exception - Problem building schema
expanded error:
Exception: Server returned HTTP response code: 503 for URL: http://MYID.MYDOMAIN.com:80/orabpel/default/CreditRatingService/CreditRatingService?wsdl
I can access the WSDL directly and it is visible in my Bpel console window too, yet JDeveloper seems to be having trouble with it. I have setup an integration server connection to the BPEL server and from there, when I attempt to validate WSDL I don't get any problems.
I was wondering if anyone could help as this has got me stuck and I can't continue any further.
Edited by: Saheem on Jun 8, 2009 3:33 PMDisable the proxy settings in JDeveloper.
Marc -
"Problem building schema" exception in BPEL Designer
Hi all,
I use BPEL Designer 10.1.2.0.2 and encounter the following problem:
I built a web service based on the Oracle Toplink How To demo. The web service has one published method that returns a custom 'Customer' object.
I deployed the web service on my localhost (AS 10.1.3)
In my BPEL process, I create a partnerlink based on the WSDL that was generated by JDeveloper and let BPEL Designer create a local copy.
Then I created an invoke and had the wizard create in- and output variables for the invoke.
When I select either the input- or output variable in the structure pane, I get an error message when I click on the 'parameters' entry. The message shown is 'Exception - problem building schema!'
When I check the 'show detailed node information' box no additional info is shown!
Any Idea what might go wrong?
The WSDL looks as follows:
<definitions
name="updCustWS"
targetNamespace="http://examples.ox.model/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://examples.ox.model/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns0="http://examples.ox.model/types/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns1="http://www.oracle.com/webservices/internal/literal"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
</schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://examples.ox.model/types/"
elementFormDefault="qualified" xmlns:tns="http://examples.ox.model/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
<import namespace="http://www.oracle.com/webservices/internal/literal"/>
<import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
<complexType name="getCust">
<sequence>
<element name="cust" type="tns:Customer" nillable="true"/>
</sequence>
</complexType>
<complexType name="Customer">
<sequence>
<element name="gender" type="string" nillable="true"/>
<element name="dateOfBirth" type="dateTime" nillable="true"/>
<element name="phoneNumbers" type="ns1:vector" nillable="true"/>
<element name="shippingAddress" type="tns:Address" nillable="true"/>
<element name="billingAddress" type="tns:Address" nillable="true"/>
<element name="firstName" type="string" nillable="true"/>
<element name="lastName" type="string" nillable="true"/>
</sequence>
</complexType>
<complexType name="Address">
<sequence>
<element name="postalCode" type="string" nillable="true"/>
<element name="suite" type="string" nillable="true"/>
<element name="street" type="string" nillable="true"/>
<element name="province" type="string" nillable="true"/>
<element name="city" type="string" nillable="true"/>
</sequence>
</complexType>
<complexType name="getCustResponse">
<sequence>
<element name="result" type="tns:Customer" nillable="true"/>
</sequence>
</complexType>
<complexType name="version">
<sequence/>
</complexType>
<complexType name="versionResponse">
<sequence>
<element name="result" type="string" nillable="true"/>
</sequence>
</complexType>
<element name="getCustElement" type="tns:getCust"/>
<element name="getCustResponseElement" type="tns:getCustResponse"/>
<element name="versionElement" type="tns:version"/>
<element name="versionResponseElement" type="tns:versionResponse"/>
</schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/webservices/internal/literal"
elementFormDefault="qualified" xmlns:tns="http://www.oracle.com/webservices/internal/literal"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<import namespace="http://examples.ox.model/types/"/>
<import namespace="urn:customer-example" schemaLocation="Customer.xsd"/>
<complexType name="vector">
<complexContent>
<extension base="tns:list">
<sequence/>
</extension>
</complexContent>
</complexType>
<complexType name="list">
<complexContent>
<extension base="tns:collection">
<sequence/>
</extension>
</complexContent>
</complexType>
<complexType name="collection">
<sequence>
<element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</schema>
</types>
<message name="UpdCustWS_getCust">
<part name="parameters" element="tns0:getCustElement"/>
</message>
<message name="UpdCustWS_getCustResponse">
<part name="parameters" element="tns0:getCustResponseElement"/>
</message>
<message name="UpdCustWS_version">
<part name="parameters" element="tns0:versionElement"/>
</message>
<message name="UpdCustWS_versionResponse">
<part name="parameters" element="tns0:versionResponseElement"/>
</message>
<portType name="updCustWS">
<operation name="getCust">
<input message="tns:UpdCustWS_getCust"/>
<output message="tns:UpdCustWS_getCustResponse"/>
</operation>
<operation name="version">
<input message="tns:UpdCustWS_version"/>
<output message="tns:UpdCustWS_versionResponse"/>
</operation>
</portType>
<binding name="updCustWSSoapHttp" type="tns:updCustWS">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getCust">
<soap:operation soapAction="http://examples.ox.model//getCust"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal" parts="parameters"/>
</output>
</operation>
<operation name="version">
<soap:operation soapAction="http://examples.ox.model//version"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal" parts="parameters"/>
</output>
</operation>
</binding>
<service name="updCustWS">
<port name="updCustWSSoapHttpPort" binding="tns:updCustWSSoapHttp">
<soap:address location="http://localhost:7780/toplinkDemo-toplink-context-root/updCustWSSoapHttpPort"/>
</port>
</service>
</definitions>
any help would be greatly appreciated!
Thanks in advance,
RobHi
I know it's an old thread, but I'm having the same issue.
I have created an EJB3 web service that returns an object with 2 nested objects. The autogenerated WSDL looks something like this:
<?xml version = '1.0' encoding = 'UTF-8'?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns0="http://www.oracle.com/webservices/internal/literal" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://smbc.crm.persistence.services/" name="CRMBusinessWSService" targetNamespace="http://smbc.crm.persistence.services/">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="http://www.oracle.com/webservices/internal/literal" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://smbc.crm.persistence.services/" elementFormDefault="qualified">
<import namespace="http://www.oracle.com/webservices/internal/literal"/>
<complexType name="Businesses">
<sequence>
<element name="partyId" type="long" nillable="true"/>
<element name="businessContactPoints" type="ns1:list" nillable="true"/>
<element name="businessAddresses" type="ns1:list" nillable="true"/>
</sequence>
</complexType>
<complexType name="BusinessAddresses">
<sequence>
<element name="locality" type="string" nillable="true"/>
<element name="paon" type="string" nillable="true"/>
<element name="siteUseType" type="string" nillable="true"/>
<element name="locationId" type="long" nillable="true"/>
<element name="townName" type="string" nillable="true"/>
</sequence>
</complexType>
<complexType name="BusinessContactPoints">
<sequence>
<element name="telCountryCode" type="string" nillable="true"/>
<element name="partyId" type="long" nillable="true"/>
<element name="telAreaCode" type="string" nillable="true"/>
</sequence>
</complexType>
<element name="queryBusinessesFindByPartyId" type="tns:queryBusinessesFindByPartyId"/>
<complexType name="queryBusinessesFindByPartyId">
<sequence>
<element name="int_1" type="int"/>
</sequence>
</complexType>
<element name="queryBusinessesFindByPartyIdResponse" type="tns:queryBusinessesFindByPartyIdResponse"/>
<complexType name="queryBusinessesFindByPartyIdResponse">
<sequence>
<element name="return" type="tns:Businesses" nillable="true"/>
</sequence>
</complexType>
</schema>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
<import namespace="http://smbc.crm.persistence.services/"/>
<complexType name="list">
<complexContent>
<extension base="tns:collection">
<sequence/>
</extension>
</complexContent>
</complexType>
<complexType name="collection">
<sequence>
<element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</schema>
</types>
<message name="CRMBusinessWS_queryBusinessesFindByPartyId">
<part name="parameters" element="tns:queryBusinessesFindByPartyId"/>
</message>
<message name="CRMBusinessWS_queryBusinessesFindByPartyIdResponse">
<part name="parameters" element="tns:queryBusinessesFindByPartyIdResponse"/>
</message>
<portType name="CRMBusinessWS">
<operation name="queryBusinessesFindByPartyId">
<input message="tns:CRMBusinessWS_queryBusinessesFindByPartyId"/>
<output message="tns:CRMBusinessWS_queryBusinessesFindByPartyIdResponse"/>
</operation>
</portType>
<binding name="CRMBusinessWSSoapHttp" type="tns:CRMBusinessWS">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="queryBusinessesFindByPartyId">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="CRMBusinessWSService">
<port name="CRMBusinessSessionEJB" binding="tns:CRMBusinessWSSoapHttp">
<soap:address location="http://blah.solihull.gov.uk:1234/crm-ws/CRMBusinessSessionEJB"/>
</port>
</service>
</definitions>
The web service runs fine and returns a valid XML document (like below):
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns0="http://smbc.crm.persistence.services/"
xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
<env:Body>
<ns0:queryBusinessesFindByPartyIdResponse>
<ns0:return>
<ns0:turnover xsi:nil="1"/>
<ns0:partyId>551837</ns0:partyId>
<ns0:employeesLocal xsi:nil="1"/>
<ns0:employeesNational xsi:nil="1"/>
<ns0:businessName xsi:nil="1"/>
<ns0:classificationSic xsi:nil="1"/>
<ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
<ns0:classificationLacors xsi:nil="1"/>
<ns0:sbaLinkNumber xsi:nil="1"/>
<ns0:legalStatus xsi:nil="1"/>
<ns0:localAuthority xsi:nil="1"/>
<ns0:bpa>560950</ns0:bpa>
<ns0:dateCommencedTrading xsi:nil="1"/>
<ns0:businessDirectoryListing xsi:nil="1"/>
<ns0:businessStage xsi:nil="1"/>
<ns0:classificationBcl xsi:nil="1"/>
<ns0:employeesGlobal xsi:nil="1"/>
<ns0:descriptionOfBusiness xsi:nil="1"/>
<ns0:businessContactPoints xsi:type="ns1:vector">
<ns1:item xsi:type="ns0:BusinessContactPoints">
<ns0:telCountryCode xsi:nil="1"/>
<ns0:partyId>551837</ns0:partyId>
<ns0:contactPointType>EMAIL</ns0:contactPointType>
<ns0:contactTelephoneNumber xsi:nil="1"/>
<ns0:bpa>560950</ns0:bpa>
<ns0:contactPointId>76330</ns0:contactPointId>
<ns0:telExtensionNumber xsi:nil="1"/>
<ns0:contactEmailAddress>[email protected]</ns0:contactEmailAddress>
<ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
<ns0:telAreaCode xsi:nil="1"/>
</ns1:item>
<ns1:item xsi:type="ns0:BusinessContactPoints">
<ns0:telCountryCode>44</ns0:telCountryCode>
<ns0:partyId>551837</ns0:partyId>
<ns0:contactPointType>PHONE</ns0:contactPointType>
<ns0:contactTelephoneNumber>323233</ns0:contactTelephoneNumber>
<ns0:bpa>560950</ns0:bpa>
<ns0:contactPointId>76329</ns0:contactPointId>
<ns0:telExtensionNumber xsi:nil="1"/>
<ns0:contactEmailAddress xsi:nil="1"/>
<ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
<ns0:telAreaCode>123</ns0:telAreaCode>
</ns1:item>
</ns0:businessContactPoints>
<ns0:businessAddresses xsi:type="ns1:vector">
<ns1:item xsi:type="ns0:BusinessAddresses">
<ns0:partyId>551837</ns0:partyId>
<ns0:locality>Kingshurst</ns0:locality>
<ns0:paon>20</ns0:paon>
<ns0:siteUseType>HEADQUATERS_FOR</ns0:siteUseType>
<ns0:locationId>34380</ns0:locationId>
<ns0:townName>Birmingham</ns0:townName>
<ns0:registeredBusinessName>Bob The Builder</ns0:registeredBusinessName>
<ns0:saon xsi:nil="1"/>
<ns0:bpa>560950</ns0:bpa>
<ns0:country>GB</ns0:country>
<ns0:uprn>100070950848</ns0:uprn>
<ns0:dateOfOccupancyAtthisaddr xsi:nil="1"/>
<ns0:streetDescriptor>Acacia Avenue</ns0:streetDescriptor>
<ns0:postcode>B37 6AQ</ns0:postcode>
<ns0:countyName xsi:nil="1"/>
<ns0:usrn xsi:nil="1"/>
</ns1:item>
</ns0:businessAddresses>
</ns0:return>
</ns0:queryBusinessesFindByPartyIdResponse>
</env:Body>
</env:Envelope>
The problem is that I'm trying to transform this message in BPEL/ESB but the mapper does not understand the schema as described in the WSDL and will not let me do 'for-each' or 'if' actions on the collections of addresses for example.
I've tried injecting my own WSDL into the EJB3 web service through annotations, but it will not compile....
Can anybody help????
Thanks
Chris -
Error at creating Client Proxy of external webservice (WSDL)
Hi Experts,
I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
[http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
I try to create it with this URL and then I get the error message
Not implemented
Exception of class CX_SIDL_INTERNAL_ERROR
I found two other threads with a similar problem:
cunsuming external webservice in ABAP
Problem while consuming external webservice
But there is no solution that worked for me. In the first thread it is mentioned, that the code between
<wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
report z_currency_converter.
data: convert type ref to zzzco_currency_convertor_soap.
try.
create object convert
exporting
logical_port_name = 'Z_LP'
catch cx_ai_system_fault .
endtry.
data: output type zzzconversion_rate_soap_out .
data: input type zzzconversion_rate_soap_in .
input-from_currency = 'EUR'.
input-to_currency = 'USD'.
try.
call method convert->conversion_rate
exporting
input = input
importing
output = output
catch cx_ai_system_fault .
catch cx_ai_application_fault .
endtry.
write output-conversion_rate_result.
The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
SAP says the following:
The problem is that this WSDL uses two bindings different from SOAP
binding which is not in conformance with Basic Profile 1.1 -
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
I hope you have an idea.
Thanks a lot in advance!
Best Regards,
IngmarI think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
Regards
Snehasish -
Problem building schema - Siebel OnDemand Web Services
I'm trying to call a Siebel OnDemand Web Service from BPEL.
I've downloaded the Contact.wsdl from OnDemand and imported it into my project.
I've created a partner link and created variables for the input and output.
The problem is that JDeveloper cannot build the schemas defined in the wsdl.
If you try to copy a value to the Input variable, JDeveloper gives the error:
Exception - Problem building schema!
You cannot navigate the schema path.
Does anyone know why this is happening?I'm also trying to do this.
Some info from the Siebel web services guide:-
"The login request is an HTTPS request to instantiate a session and obtain a session ID. A client invokes login by sending an HTTP GET request to a URL like the following:
https://secure.crmondemand.com/Services/Integration?command=login
NOTE: The login parameter value is case sensitive.
■ Login input. The input to login is provided in the URL parameters and the HTTP headers, as follows:
■ The only URL parameter to be set is command. This parameter value is login.
Two HTTP headers, UserName and Password, must be set with the appropriate values for your system. For example:
❏ UserName: [email protected]
❏ Password: mypass
■ Login output. The login command returns the following items:
■ A session cookie, jsessionid. The client must use this cookie when submitting subsequent requests, including logoff requests.
■ A status code of 200, if the session does not encounter any errors. This indicates that the request succeeded.
Then to get data out ....
Integration request input. The jsessionid returned to the client during login must be included with the request. The request must contain the jsessionid either as a cookie or as a URL parameter, as follows:
https://secure.crmondemand.com/Services/Integration/object;jsessionid=xyZ12489w3482413
Does anyone have any ideas on how we might do this using the Oracle BPEL PM?
Thanks in advance. -
Problem building schema for return type as custom object
Hi i am invoking a web service through a partner link. But when i expand the invoke variables( in structure tab ), it shows Exception- Problem building schema.
Response is of type java:Customer which is a custom object having mobile_no, name, compname.
Error is--
Invalid reference: 'java:customobjectproject:Customer'
wsdl file:
<?xml version='1.0' encoding='UTF-8'?>
<definitions name="CustomerDetailServiceDefinitions" targetNamespace="http://customobjectproject" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://customobjectproject" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://customobjectproject" xmlns:s0="http://customobjectproject" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="getCustomer">
<xs:complexType>
<xs:sequence>
<xs:element name="mobileNo" type="xs:int"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="compName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getCustomerResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="return" type="java:Customer" xmlns:java="java:customobjectproject"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:customobjectproject" xmlns:s0="http://customobjectproject" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="Customer">
<xs:sequence>
<xs:element minOccurs="1" name="Mobile_no" nillable="false" type="xs:int"/>
<xs:element minOccurs="1" name="Name" nillable="true" type="xs:string"/>
<xs:element minOccurs="1" name="CompName" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name="getCustomer">
<part element="s0:getCustomer" name="parameters"/>
</message>
<message name="getCustomerResponse">
<part element="s0:getCustomerResponse" name="parameters"/>
</message>
<portType name="CustomerDetail">
<operation name="getCustomer" parameterOrder="parameters">
<input message="s0:getCustomer"/>
<output message="s0:getCustomerResponse"/>
</operation>
</portType>
<binding name="CustomerDetailServiceSoapBinding" type="s0:CustomerDetail">
<s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getCustomer">
<s1:operation soapAction="" style="document"/>
<input>
<s1:body parts="parameters" use="literal"/>
</input>
<output>
<s1:body parts="parameters" use="literal"/>
</output>
</operation>
</binding>
<service name="CustomerDetailService">
<port binding="s0:CustomerDetailServiceSoapBinding" name="CustomerDetailSoapPort">
<s1:address location="http://localhost:7030/CustomerDetail/CustomerDetail"/>
</port>
</service>
</definitions>
I am using jdeveloper 10.1.3.3.0. Please help..
Thanks.Well, the problem is caused by the fact that BPEL does not yet support soapenc:Array types. We've created a workaround by defining two Services, one that has only single returntypes and one that has the multiple returntypes (which are defined using soapenc:Array). There are other solutions, but those are very complicated. Hope this helps!
-
Error in Header part while invoking https service
Hi All,
I am trying to invoke my cleints Hpps service using http binding adapter, Code compilition and depolying is success, but while passing Input and testing I am facing below error. Even I also passed Header part as a hardcoded while invoking a webservice , I tried with both (application /soap+xml) and
(text/html), But still i am facing same error
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixed" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml; charset=utf-8'. from url https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.integ.identity.vertafore.com/adfs/services/trust/13/usernamemixed</faultstring>
<faultactor/>
<detail>
<exception>Unable to invoke endpoint URI "https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.integ.identity.vertafore.com/adfs/services/trust/13/usernamemixed" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml; charset=utf-8'. from url https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.integ.identity.vertafore.com/adfs/services/trust/13/usernamemixed</exception>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
Please help me in resolving this....
Regards
FrancisHere is the Input
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:vim="http://www.microsoft/VIMRequest.org">
<soapenv:Header/>
<soapenv:Body>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:a="http://www.w3.org/2005/08/addressing"
xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<a:Action s:mustUnderstand="1">http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</a:Action>
<a:To s:mustUnderstand="1">https://xxx.xxxx.xxxx.xxxx/adfs/services/trust/13/usernamemixed</a:To>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<o:UsernameToken u:Id="uuid-6a13a244-dac6-42c1-84c5-cbb345b0c4c4-1">
<o:Username>23164</o:Username>
<o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">smartflow</o:Password>
</o:UsernameToken>
</o:Security>
</s:Header>
<s:Body>
<trust:RequestSecurityToken xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
<wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<a:EndpointReference>
<a:Address>https://osbk2-q1.devop.microsoft.com:7002/BPMSSAML/</a:Address>
</a:EndpointReference>
</wsp:AppliesTo>
<trust:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Bearer</trust:KeyType>
<trust:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</trust:RequestType>
<trust:TokenType>urn:oasis:names:tc:SAML:2.0:assertion</trust:TokenType>
</trust:RequestSecurityToken>
</s:Body>
</s:Envelope>
</soapenv:Body>
</soapenv:Envelope> -
Java.lang.NullPointerException while invoking Weblogic10 Webservice JAX-RPC
hello,
I'm facing this Eception while invoking the Webservice
10/03/2009 01:39:19 Ú gosi.business.batch.financialaccounting.gosiSambaRets.controller.SambaClient callUploadPayment
SEVERE: null
java.lang.NullPointerException
at com.bea.staxb.buildtime.internal.bts.XmlTypeName.findTypeIn(XmlTypeName.java:555)
at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(AnonymousTypeFinder.java:73)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.createBindingTypeFrom(Deploytime109MappingHelper.java:1088)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.processTypeMappings(Deploytime109MappingHelper.java:519)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBindingFileFrom109dd(Deploytime109MappingHelper.java:266)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:166)
at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86)
at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:709)
at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:409)
at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:45)
at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:154)
at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:122)
at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
please can some one help me??user564706 wrote:
Hi support,
I installed cluster
I installed Oracle ASM home
using netca from ASM hom i cretaed listener
Then while invoking dbca from ASM home to cretae asm instance i got the error:
exceptio in thread "main" java.lang.NullPointerException
at
oracle.sysman.assistants....
so using netca from asm home i deleted the listener and invokded dbca from asm home and it looks for the listener and since it is not there it automatically cretaes (after i confirm ok)and the asm instance cretaed.
so is it the normal behaviour.What is the version?
Why you are using DBCA from ASM_HOME ?
you can use ASMCA from ASM_HOME if 11g.
DBCA to create database from RDBMS_HOME/ORACLE_HOME
You have very bad stats of your profile.
user564706
Newbie
Handle: user564706
Status Level: Newbie
Registered: Mar 19, 2007
Total Posts: 258
Total Questions: 202 (200 unresolved)
Out of 202 questions only 2 resolved, please check may be those also unresolved ;-)
Keep the forum clean, close all your threads as answered. Read Etiquette. https://forums.oracle.com/forums/ann.jspa?annID=718
Edited by: CKPT on Feb 22, 2012 6:56 AM -
Problem building schema in provider ABCS
Hi
I imported AccountWSEndPointCRMOnDemand from AIA_HOME\PIP to my jdeveloper(10.1.3.4).but i am getting problem building schema error for one of the partnerlinks.nothing is getting dispalyed if i click on 'show detailed node information'.
I took that wsdl & created a sample bpel which works perfectly fine but with the actual PIP bpel its not working.I pasted the link in IE, it shows the contents corretly.
Please advice!
ThanksThe accountAdapter.wsdl contents is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<definitions
targetNamespace="urn:crmondemand/ws/account/10/2004"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="urn:crmondemand/ws/account/10/2004"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<import namespace="urn:crmondemand/ws/account/10/2004" location="http://host:port/AIAComponents/ApplicationObjectLibrary/CRMOD/ODR15/wsdls/account.wsdl"/>
<plnk:partnerLinkType name="Default_Binding_Account_PL">
<plnk:role name="Default_Binding_Account_Role">
<plnk:portType name="tns:Default_Binding_Account"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
wherein account.wsdl has xsd info which is working fine in the browser.
Also which checkbox i need to check in jdeveloper to see the error details. -
Exception occured while invoking the webservice operation
I have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
Thanks
NasirI have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
Thanks
Nasir -
Exception:Problem building schema
Hi all,
I want to make a web service call to a service deployed in weblogic, I copied the wsdl to a local file and I created a PartnerLink referring to the wsdl in my local file. I put an Invoke action, create an input variable, everything work fine. However when I try to explore the input variable I got exception:Problem building schema.
Is there anything wrong with the WSDL? I've validate it and it was ok.
Thanks in advance,
santoso
Here is the WSDL of the service:
<?xml version='1.0' encoding='UTF-8'?>
<definitions name="ProposalWSServiceDefinitions" targetNamespace="http://com/my/ws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.my.com/opl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.my.com/opl">
<complexType name="Proposal">
<sequence>
<element name="id" type="int"/>
<element name="title" type="string"/>
<element name="creator" type="string"/>
<element name="status" type="string"/>
<element name="customerId" type="int"/>
</sequence>
</complexType>
<element name="ProposalData" type="tns:Proposal"/>
</schema>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://com/my/ws" xmlns:s0="http://com/my/ws" xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="insertProposal">
<xs:complexType>
<xs:sequence>
<xs:element name="proposal" type="opl:Proposal" xmlns:opl="http://www.my.com/opl"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</types>
<message name="insertProposal">
<part element="s0:insertProposal" name="parameters"/>
</message>
<portType name="ProposalWS">
<operation name="insertProposal" parameterOrder="parameters">
<input message="s0:insertProposal"/>
</operation>
</portType>
<binding name="ProposalWSServiceSoapBinding" type="s0:ProposalWS">
<s1:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="insertProposal">
<s1:operation soapAction="" style="document"/>
<input>
<s1:body parts="parameters" use="literal"/>
</input>
</operation>
</binding>
<service name="ProposalWSService">
<port binding="s0:ProposalWSServiceSoapBinding" name="ProposalWSSoapPort">
<s1:address location="http://172.16.208.45:7001/SBSWebService/ProposalWS"/>
</port>
</service>
</definitions>I've solved it just by upgrading to BPEL 10.1.3.1 (was 10.1.2.0)
-
Problem building schema on WSDL for Partnerlink
Hi,
We use PL/SQL webservices, which are being generated with JDeveloper. As long as it contains single Object Types, there's no problem with defining the WS as Partnerlink and using it.
However, we've made one service that returns several occurrences (array). That shouldn't be a problem. But, ... I can define the partnerlink on the basis of the WSDL, but when I try to access the variables it generates with it, i get an exception with the following message: Problem building schema. Detailed node information shows: 'Invalid reference: 'http://schemas.xmlsoap.org/soap/encoding/:Array'
<!--
Generated by the Oracle JDeveloper 10g Web Services WSDL Generator
-->
<!--Date Created: Tue Sep 13 15:03:40 CEST 2005-->
<definitions name="aanvraagWS" targetNamespace="http://nl/nak/aanvraagService/aanvraagWS.wsdl">
<types>
<schema targetNamespace="http://nl.nak.services/AanvraagWS.xsd">
<complexType name="nl_nak_services_AvrgAvrgOtUser" jdev:packageName="nl.nak.services">
<all>
<element name="id" type="decimal"/>
<element name="oogstjaar" type="decimal"/>
<element name="aanvraagNummer" type="decimal"/>
<element name="rleId" type="decimal"/>
<element name="kotId" type="decimal"/>
<element name="aantalVerpakkingen" type="decimal"/>
<element name="verpakkingsvorm" type="string"/>
<element name="totaalGewicht" type="decimal"/>
<element name="indBemonsterdNaDrogen" type="string"/>
<element name="partijnummerHandelaar" type="string"/>
<element name="opmerkingen" type="string"/>
<element name="datumBemonstering" type="dateTime"/>
<element name="plombenummer" type="string"/>
<element name="indSpoedonderzoek" type="string"/>
<element name="bemonsterdDoor" type="string"/>
<element name="pdtId" type="decimal"/>
<element name="procesInstanceId" type="decimal"/>
</all>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_addaanvraag_Out" jdev:packageName="nl.nak.services">
<all>
<element name="paanvraagotInout" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
<complexType name="nl_nak_services_AvrgServiceBerichtOtUser" jdev:packageName="nl.nak.services">
<all>
<element name="serviceCode" type="decimal"/>
<element name="serviceBericht" type="string"/>
</all>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_getaanvraag_Out" jdev:packageName="nl.nak.services">
<all>
<element name="paanvraagotOut" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_findaanvraag_Out" jdev:packageName="nl.nak.services">
<all>
<element name="paanvraagotOut" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
<complexType name="nl_nak_services_AvrgWngOtUser" jdev:packageName="nl.nak.services">
<all>
<element name="id" type="decimal"/>
<element name="wmrId" type="decimal"/>
<element name="prrId" type="decimal"/>
<element name="avrgId" type="decimal"/>
<element name="waardeNumeriek" type="decimal"/>
<element name="waardeAlfanumeriek" type="string"/>
<element name="datumUitvoering" type="dateTime"/>
<element name="uitvoerder" type="string"/>
<element name="istId" type="decimal"/>
</all>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_addwaarneming_Out" jdev:packageName="nl.nak.services">
<all>
<element name="pwaarnemingotInout" type="ns1:nl_nak_services_AvrgWngOtUser"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_getwaarneming_Out" jdev:packageName="nl.nak.services">
<all>
<element name="pwaarnemingotOut" type="ns1:nl_nak_services_AvrgWngOtUser"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_findwaarneming_Out" jdev:packageName="nl.nak.services">
<all>
<element name="pwaarnemingotInout" type="ns1:nl_nak_services_AvrgWngOtUser"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_listwaarnemingperaanvraag_Out" jdev:packageName="nl.nak.services">
<all>
<element name="pwaarnemingctOut" type="ns1:nl_nak_services_AvrgWngCt"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
<complexType name="nl_nak_services_AvrgWngCt" jdev:packageName="nl.nak.services">
<all>
<element name="array" type="ns1:ArrayOfnl_nak_services_AvrgWngOtUser"/>
</all>
</complexType>
<complexType name="ArrayOfnl_nak_services_AvrgWngOtUser">
<complexContent>
<restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="ns1:nl_nak_services_AvrgWngOtUser[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="nl_nak_services_AanvraagWSImpl_listwaarnemingperwerkmonster_Out" jdev:packageName="nl.nak.services">
<all>
<element name="pwaarnemingctOut" type="ns1:nl_nak_services_AvrgWngCt"/>
<element name="pserviceberichttypeOut" type="ns1:nl_nak_services_AvrgServiceBerichtOtUser"/>
</all>
</complexType>
</schema>
</types>
<message name="addaanvraag0Request">
<part name="xxpAanvraagOt_inoutxx" type="ns1:nl_nak_services_AvrgAvrgOtUser"/>
</message>
<message name="addaanvraag0Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_addaanvraag_Out"/>
</message>
<message name="getaanvraag1Request">
<part name="pAanvraagid" type="xsd:decimal"/>
</message>
<message name="getaanvraag1Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_getaanvraag_Out"/>
</message>
<message name="findaanvraag2Request">
<part name="pOogstjaar" type="xsd:decimal"/>
<part name="pAanvraagNummer" type="xsd:decimal"/>
</message>
<message name="findaanvraag2Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_findaanvraag_Out"/>
</message>
<message name="addwaarneming3Request">
<part name="xxpWaarnemingOt_inoutxx" type="ns1:nl_nak_services_AvrgWngOtUser"/>
</message>
<message name="addwaarneming3Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_addwaarneming_Out"/>
</message>
<message name="getwaarneming4Request">
<part name="pWerkmonsterId" type="xsd:decimal"/>
<part name="pAanvraagId" type="xsd:decimal"/>
<part name="pBepalingId" type="xsd:decimal"/>
</message>
<message name="getwaarneming4Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_getwaarneming_Out"/>
</message>
<message name="findwaarneming5Request">
<part name="xxpWaarnemingOt_inoutxx" type="ns1:nl_nak_services_AvrgWngOtUser"/>
</message>
<message name="findwaarneming5Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_findwaarneming_Out"/>
</message>
<message name="listwaarnemingperaanvraag6Request">
<part name="pAanvraagId" type="xsd:decimal"/>
</message>
<message name="listwaarnemingperaanvraag6Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_listwaarnemingperaanvraag_Out"/>
</message>
<message name="listwaarnemingperwerkmonster7Request">
<part name="pWerkmonsterId" type="xsd:decimal"/>
</message>
<message name="listwaarnemingperwerkmonster7Response">
<part name="return" type="ns1:nl_nak_services_AanvraagWSImpl_listwaarnemingperwerkmonster_Out"/>
</message>
<portType name="AanvraagWSPortType">
<operation name="addaanvraag">
<input name="addaanvraag0Request" message="tns:addaanvraag0Request"/>
<output name="addaanvraag0Response" message="tns:addaanvraag0Response"/>
</operation>
<operation name="getaanvraag">
<input name="getaanvraag1Request" message="tns:getaanvraag1Request"/>
<output name="getaanvraag1Response" message="tns:getaanvraag1Response"/>
</operation>
<operation name="findaanvraag">
<input name="findaanvraag2Request" message="tns:findaanvraag2Request"/>
<output name="findaanvraag2Response" message="tns:findaanvraag2Response"/>
</operation>
<operation name="addwaarneming">
<input name="addwaarneming3Request" message="tns:addwaarneming3Request"/>
<output name="addwaarneming3Response" message="tns:addwaarneming3Response"/>
</operation>
<operation name="getwaarneming">
<input name="getwaarneming4Request" message="tns:getwaarneming4Request"/>
<output name="getwaarneming4Response" message="tns:getwaarneming4Response"/>
</operation>
<operation name="findwaarneming">
<input name="findwaarneming5Request" message="tns:findwaarneming5Request"/>
<output name="findwaarneming5Response" message="tns:findwaarneming5Response"/>
</operation>
<operation name="listwaarnemingperaanvraag">
<input name="listwaarnemingperaanvraag6Request" message="tns:listwaarnemingperaanvraag6Request"/>
<output name="listwaarnemingperaanvraag6Response" message="tns:listwaarnemingperaanvraag6Response"/>
</operation>
<operation name="listwaarnemingperwerkmonster">
<input name="listwaarnemingperwerkmonster7Request" message="tns:listwaarnemingperwerkmonster7Request"/>
<output name="listwaarnemingperwerkmonster7Response" message="tns:listwaarnemingperwerkmonster7Response"/>
</operation>
</portType>
<binding name="AanvraagWSBinding" type="tns:AanvraagWSPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="addaanvraag">
<soap:operation soapAction="" style="rpc"/>
<input name="addaanvraag0Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="addaanvraag0Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="getaanvraag">
<soap:operation soapAction="" style="rpc"/>
<input name="getaanvraag1Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="getaanvraag1Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="findaanvraag">
<soap:operation soapAction="" style="rpc"/>
<input name="findaanvraag2Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="findaanvraag2Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="addwaarneming">
<soap:operation soapAction="" style="rpc"/>
<input name="addwaarneming3Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="addwaarneming3Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="getwaarneming">
<soap:operation soapAction="" style="rpc"/>
<input name="getwaarneming4Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="getwaarneming4Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="findwaarneming">
<soap:operation soapAction="" style="rpc"/>
<input name="findwaarneming5Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="findwaarneming5Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="listwaarnemingperaanvraag">
<soap:operation soapAction="" style="rpc"/>
<input name="listwaarnemingperaanvraag6Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="listwaarnemingperaanvraag6Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="listwaarnemingperwerkmonster">
<soap:operation soapAction="" style="rpc"/>
<input name="listwaarnemingperwerkmonster7Request">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output name="listwaarnemingperwerkmonster7Response">
<soap:body use="encoded" namespace="aanvraagWS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="aanvraagWS">
<port name="AanvraagWSPort" binding="tns:AanvraagWSBinding">
<soap:address location="http://nak3.nak.nl:7779/aanvraagService/AanvraagWS"/>
</port>
</service>
</definitions>Well, the problem is caused by the fact that BPEL does not yet support soapenc:Array types. We've created a workaround by defining two Services, one that has only single returntypes and one that has the multiple returntypes (which are defined using soapenc:Array). There are other solutions, but those are very complicated. Hope this helps!
-
Error while invoking a webservice using Axis deployed in tomacat from Bpel
Hi,
I am trying to invoke a Axis webservice(from Java class to WSDL- bottom up java bean webservice approach) developed in Exclipse IDE, deployed in Tomcat.
When i am trying to invoke the service, from Bpel from Jdeveloper it is throwing error as such :
Invoke_1 (faulted)
[2009/05/22 14:32:18] Faulted while invoking operation "storeLoanData" on provider "LoanDataPersist".less
-<messages>
-<input>
-<Invoke_1_storeLoanData_InputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="p_request">
-<p_request xmlns="" xmlns:def="http://dtos.demo.com" xsi:type="def:LoanDataPersistRequest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<customerName>wew
</customerName>
<netIncome>12
</netIncome>
<loanAmount>12
</loanAmount>
<realEstateAddress>wew
</realEstateAddress>
<customerID/>
</p_request>
</part>
</Invoke_1_storeLoanData_InputVariable>
</input>
-<fault>
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>exception on JaxRpc invoke: trailing block elements must have an id attribute
</summary>
</part>
</remoteFault>
</fault>
</messages>
I may add that, the WSDL generated is using "soap:enc:array ", rpc style.
Can anyone tell me the reason and suggest .Hi Marc,
Thanks for the guidancer. But sir, i am unable to detect at which place i have to do the required changes.I found p_request as a parameter in the method only in the interface only.
As bcos ultimately , i am generating the tomcat /axis web service (WSDL) from the java class, which is using 2 Request and response java bean, in which they are doing someing like this:
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(LoanDataPersistRequest.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("customerName");
elemField.setXmlName(new javax.xml.namespace.QName("", "customerName"));
elemField.setXmlType(new javax.xml.namespace.QName("", "string"));
elemField.setNillable(true);
etc etc...................}
And second thing is when the WSDL is generated, from that the stubs and skeletons is generated to test the service.
There in the Stub i found out "p_request" in this place:
private static void _initOperationDesc1(){
org.apache.axis.description.OperationDesc oper;
org.apache.axis.description.ParameterDesc param;
oper = new org.apache.axis.description.OperationDesc();
oper.setName("storeLoanData");
param = new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false);
oper.addParameter(param);
oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
oper.setReturnClass(com.demo.dtos.LoanDataPersistResponse.class);
oper.setReturnQName(new javax.xml.namespace.QName("", "storeLoanDataReturn"));
oper.setStyle(org.apache.axis.constants.Style.RPC);
oper.setUse(org.apache.axis.constants.Use.ENCODED);
_operations[0] = oper;
And in skeleton :
static {
org.apache.axis.description.OperationDesc _oper;
org.apache.axis.description.FaultDesc _fault;
org.apache.axis.description.ParameterDesc [] _params;
_params = new org.apache.axis.description.ParameterDesc [] {
new org.apache.axis.description.ParameterDesc(*new javax.xml.namespace.QName("", "p_request")*, org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistRequest"), com.demo.dtos.LoanDataPersistRequest.class, false, false),
oper = new org.apache.axis.description.OperationDesc("storeLoanData", params, new javax.xml.namespace.QName("", "storeLoanDataReturn"));
_oper.setReturnType(new javax.xml.namespace.QName("http://dtos.demo.com", "LoanDataPersistResponse"));
_oper.setElementQName(new javax.xml.namespace.QName("urn:com.demo.service", "storeLoanData"));
_oper.setSoapAction("");
myOperationsList.add(oper);
if (_myOperations.get("storeLoanData") == null) {
_myOperations.put("storeLoanData", new java.util.ArrayList());
((java.util.List)_myOperations.get("storeLoanData")).add(_oper);
PLease suggest if i make some changes in stub and skeleton how it would reflect the WSDL... or else please suggest where shud i do the required changes. -
Getting error connection timed out while invoking webservice from bpel.
Hi,
I am trying to call a secure webservice developed in .Net having extension .svc from the bpel service and in response i am getting error
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{summary=<summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect</summary>
I am able to call this web service from the java programme using HTTPClient by setting the username/password and soapaction in http Header but not from the BPEL process. This .Net service is synchronous in nature. I also set the proxy in opmn.xml but didn't got any success.
Please reply me ASAP. Need urgent help.
Thanks.Are you working on 11g ? if this is 11g
How are you invoking the webservice ...does it have any authentication..
If the webservice which you are invoking has basic http authentication...
1. In the composite.xml file, right click on the reference and configure WS policies. In security tab, add a security policy named"oracle/wss_http_token_client_policy"
2. Add two binding properties for the reference
(i) oracle.webservices.auth.username
(ii) oracle.webservices.auth.password
and provide the username and password for those two properties...
Just try this out...
Thanks,
N
Maybe you are looking for
-
Please help! Safari keeps hanging/not responding and freezes everything else up.
I've got a mid-2009 MacBook Pro running OS X Snow Leopard (10.6.8) and Safari (5.1.9) keeps hanging/crashing. I'm afraid I'm not very good with these things so I'll just have to tell the story... It's happening when I start up Safari, either the home
-
Hp Laser Jet CM1015 printing problem
Hi Guys !!!I'll try not to make it long for you, pictures speaks for me.I would need to say that I had that printer since 2007 or a little after, the problem started after using some kids coloring program which prints the pictures after coloring it.
-
Can i stop using my phone number for imessage
i want to stop using my phone number with imessage, i cant because it is greyed out and its selected but i want to deselect it but i cant. when i take my sim out it completely disables imessage
-
How do I get contact list from windows live to ipad
I have no idea how to get contacts from other email accounts. How do you save email addresses that are sent to you?
-
CSS.xml does not have info about my Configured External User directories??
Hello, Can somebody help me. I do not see any mention of my external directories I have configured in Shared Services as I have reinstalled the Applicationn server Tomcat for 11.1.13. Appreciate any help, Thanks Vince Edited by: Vince456 on Oct 1, 20