Coherence service handshake protocol,
Hi,
Has there been any change in the Service Handshake protocol with newer versions of Coherence. We have been using version 3.4.1 and see that every time a new node starts up it tries to do a handshake with all existing members of the cluster.
Has this changed in newer version?
I am trying to upgrade to 3.5.2 and was told that in this version the new node needs handshake only with the Senior Node. But I still see the new node fails if handshake is incomplete (i.e. if any of the existing nodes fail to respond within join-timeout).
Can someone please give some insights on this?
Here are the logs:
2010-02-02 04:34:48.506/33.857 Oracle Coherence GE 3.5.2/463 <Error> (thread=WrapperSimpleAppMain, member=4): Error while starting service "DistributedFIIndicativeCacheWithPublishingCacheStore": com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=7, Name=DistributedFIIndicativeCacheWithPublishingCacheStore, Type=DistributedCache
MemberSet=ServiceMemberSet(
OldestMember=Member(Id=2, Timestamp=2010-02-01 06:35:13.904, Address=146.125.20.129:15090, MachineId=64385, Location=site:amrs.win.ml.com,machine:USWMWEXPTC42,process:9800,member:DEV.NY.D02.REPL_NODE1)
ActualMemberSet=MemberSet(Size=9, BitSetCount=2
Member(Id=1, Timestamp=2010-02-02 04:33:11.033, Address=146.125.20.129:15088, MachineId=64385, Location=site:amrs.win.ml.com,machine:USWMWEXPTC42,process:9440,member:DEV.NY.D02.FI_NODE1)
Member(Id=2, Timestamp=2010-02-01 06:35:13.904, Address=146.125.20.129:15090, MachineId=64385, Location=site:amrs.win.ml.com,machine:USWMWEXPTC42,process:9800,member:DEV.NY.D02.REPL_NODE1)
Member(Id=3, Timestamp=2010-02-02 04:33:38.281, Address=169.242.15.182:15088, MachineId=21686, Location=site:amrs.win.ml.com,machine:USWMAPXPRTD02,process:7092,member:DEV.NY.D02.FI_NODE4)
Member(Id=4, Timestamp=2010-02-02 04:34:17.091, Address=146.125.20.129:15089, MachineId=64385, Location=site:amrs.win.ml.com,machine:USWMWEXPTC42,process:4724,member:DEV.NY.D02.FI_NODE2)
Member(Id=5, Timestamp=2010-02-02 01:56:55.807, Address=146.125.24.149:15088, MachineId=63381, Location=site:amrs.win.ml.com,machine:USWMWEXPTC43,process:9444, Role=ExamplesSimpleCacheExplorer)
Member(Id=7, Timestamp=2010-02-02 04:28:47.322, Address=146.125.24.149:15089, MachineId=63381, Location=site:amrs.win.ml.com,machine:USWMWEXPTC43,process:8668,member:DEV.NY.D02.FI_NODE8)
Member(Id=8, Timestamp=2010-02-02 04:28:47.376, Address=169.242.15.182:15089, MachineId=21686, Location=site:amrs.win.ml.com,machine:USWMAPXPRTD02,process:6836,member:DEV.NY.D02.FI_NODE5)
Member(Id=9, Timestamp=2010-02-02 04:28:47.712, Address=146.125.24.149:15090, MachineId=63381, Location=site:amrs.win.ml.com,machine:USWMWEXPTC43,process:5044,member:DEV.NY.D02.FI_NODE7)
Member(Id=10, Timestamp=2010-02-02 04:34:28.324, Address=146.125.20.129:15091, MachineId=64385, Location=site:amrs.win.ml.com,machine:USWMWEXPTC42,process:8084,member:DEV.NY.D02.FI_FEEDER)
MemberId/ServiceVersion/ServiceJoined/ServiceLeaving
1/3.5/Tue Feb 02 04:33:12 EST 2010/false,
2/3.5/Mon Feb 01 06:35:15 EST 2010/false,
3/3.5/Tue Feb 02 04:33:38 EST 2010/false,
4/3.5/Tue Feb 02 04:34:18 EST 2010/false,
5/3.5/Tue Feb 02 01:57:12 EST 2010/false,
7/3.5/Tue Feb 02 04:28:51 EST 2010/false,
8/3.5/Tue Feb 02 04:28:51 EST 2010/false,
9/3.5/Tue Feb 02 04:28:52 EST 2010/false,
10/3.5/Tue Feb 02 04:34:29 EST 2010/false
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onStartupTimeout(Grid.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:28)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:38)
at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:28)
at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:1008)
at com.tangosol.net.DefaultCacheServer.start(DefaultCacheServer.java:139)
at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136)
at java.lang.Thread.run(Thread.java:595)
2010-02-02 04:34:48.506/33.857 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:DistributedFIIndicativeCacheWithPublishingCacheStore, member=4): validatePolls: This service timed-out due to unanswered handshake request. Manual intervention is required to stop the members that have not responded to this Poll
PollId=1, active
InitTimeMillis=1265103258508
Service=DistributedFIIndicativeCacheWithPublishingCacheStore (7)
RespondedMemberSet=[1,2,3,5,8,9,14]
LeftMemberSet=[]
RemainingMemberSet=[7]
Thanks,
Kishore Shewani
Edited by: user10737736 on Feb 3, 2010 5:10 AM
Kishore -
The join protocol in 3.5.2 is unchanged from 3.4.1
Can you post the configuration and any more detailed logs?
/Mark
Similar Messages
-
Retry count and retry Interval fields in Business service (Http protocol)
Is retry count and retry Interval in OSB business services(Http protocol) defined for retrying the application errors or for communication errors?
Also even if my connection timeout is 0 I get an error response due to communcation issue in abt 2.5 mins.
Please explain.- There is an explicit configuration on business service called "Retry Application Errors", if enabled application errors will also be retried.
- If timeout is not set on business service then domain level timeout configuration comes into effect which is by default of 180 sec i.e 3 mins.
Hope this helps. -
Web Services are protocols independent?
Hi Guys,
I want to know that Web Services are protocol independent? if yes, can i develop a web service in other protocols excepts HTTP and SOAP. Please describe in details.Hello,
I will say it depends how you are qualifying Web Services and related technologies.
Historically, Web services have been build to use protocol and technologies that will work using Internet technologies and be compliant with Firewall and other internet layers...
So the network protocols were HTTP/HTTPS.Also, because the service has to be decoupled from the implementation, so we use XML and data representation using Schemas, all define in a wire protocol SOAP.
So initially Web Services are based on SOAP over HTTP/HTTPS, and the description of the services, the different message types is done in the WSDL, that is itself an XML document. Since the message is an XML document, it is possible to send it using any protocol, the idea being you send the SOAP request to a server the server deal with it and send a response all using SOAP representation. This is why for example in the Oracle Web Service stack in addition to HTTP/HTTPS, you can use JMS as the communication protocol.
But I also want to add some information about WSIF (Web Services Invocation Framework), where in addition to SOAP, you can use "native" layer to call a Web Service. The idea being that for example if you are building a service where the clients are either hosted on the same server as the service, or remote and outside the firewall... You want in this case to be able to call your java implementation class from the container when you are local, and when a customer wants to call the service from the internet uses the SOAP/HTTP protocol. To learn more about WSIF take a look to this OTN Article: Web ServicesAnyhow, Anywhere
So as you can see Web Services are protocol intependent.
Regards
[urlhttp://blog.grallandco.com]Tugdual Grall -
Service requires protocol: https
Hi All,
I generated WebServices using Weblogic Ant task. It deploys fine. When I access
on HTTP protocol, it displays
<env:Fault>
<faultcode>Client</faultcode>
<faultstring>Service requires protocol: https</faultstring>
</env:Fault>
It works fine with HTTPS URL. I checked web_services.xml, it has protocol="http".
Why I am not able to access using HTTP.
Any help appreciated.HTTP is the default transport. Can you please try out a
simple web serivce example with http to make sure that
it is not a server configuration problem.
http://manojc.com
"satish" <[email protected]> wrote in message news:[email protected]..
>
Hi All,
I generated WebServices using Weblogic Ant task. It deploys fine. When Iaccess
on HTTP protocol, it displays
<env:Fault>
<faultcode>Client</faultcode>
<faultstring>Service requires protocol: https</faultstring>
</env:Fault>
It works fine with HTTPS URL. I checked web_services.xml, it hasprotocol="http".
>
Why I am not able to access using HTTP.
Any help appreciated. -
How to enable cache on Business service having protocol other than JCA
Hi all,
In my use case I should use cache on my business service which uses Http as its transport protocol.
when I try to use the cache on http business service I am unable to use the cache functionality.
When I try to use the cache on JCA business service I am able to use it. Please help me in finding the
ways in which I can enable cache functionality on the business service which uses the other protocols.
Thanks,
Phanindra.Caching in Business Service should work fine on HTTP transport as well. What all configurations have you done in your HTTP business service and how are you testing it?
-
BPEL email Notification Service - Can it support protocol other than pop3
Hi,
I wanted to confirm can BPEL email Notification Service support protocol for email other than pop3, such as mapi
Thanks,
Sachin SutarCurrently only pop3 and imap are supported for incoming mail and SMTP for sending email.
-
Problem starting multiple coherence nodes simultaneously
So we have this coherence cluster configuration that works fine if we start servers one at a time. However, if multiple servers starts simultaneously through a script, some of the servers fail to startup.
The Error/Warning message that are noticeable in the log files are below:
“Received a discovery message that indicates an older member joining:”
"Rejecting service handshake request due to a concurrent membership change; requestor's member set is missing MemberSet(Size=1, ids=[465])"
"Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests..."
Any help/pointer will be appreciated.
ThanksHi Danny,
It should not be required for all configured WKA hosts to be up for a new member to join; just that some WKA host needs to be up.
Can you file an SR and upload your config, a description of what machines are up/down/etc... as well as information on what JVM/OS and version you are using? (I'm guessing that this is on some flavor of windows?)
thanks,
-Rob -
Erro while recieving a signed response from a web service
i'm not sure whether this is the right forum to post this topic, but anyways i'm going fwd as i was not able to find a rite one, if any body knows, plz redirect me to that, anyways below is my issue.
i'm using axis as a web service engine on my client side and getting a signed response from a web service.
But while recieving the response im gettng the following error.
Verification failed for URI "#id-13753285"
org.apache.ws.security.WSSecurityException: The signature verification failed
at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:332)
at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:79)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:279)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:201)
at org.apache.ws.axis.security.WSDoAllReceiver.invoke(WSDoAllReceiver.java:159)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.sterlingcommerce.www.mesa.GISBindingStub.executeLightweightJDBCAdapterQuery(GISBindingStub.java:210)
at client.MyClient.makeRequest(MyClient.java:105)
at client.MyClient.main(MyClient.java:134)
failed becoz of remote exception: org.apache.ws.security.WSSecurityException: The signature verification failed
Exception in thread "main" org.apache.ws.security.WSSecurityException: The signature verification failed
at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:332)
at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:79)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:279)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:201)
at org.apache.ws.axis.security.WSDoAllReceiver.invoke(WSDoAllReceiver.java:159)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.sterlingcommerce.www.mesa.GISBindingStub.executeLightweightJDBCAdapterQuery(GISBindingStub.java:210)
at client.MyClient.makeRequest(MyClient.java:105)
at client.MyClient.main(MyClient.java:134)
below are my hadler configurations and properties file
<handler type="java:org.apache.ws.axis.security.WSDoAllReceiver" >
<parameter name="action" value="Signature"/>
<parameter name="user" value="signverf"/>
<parameter name="passwordCallbackClass" value="client.PWCallback"/>
<parameter name="passwordType" value="PasswordDigest"/>
<parameter name="signaturePropFile" value = "signatureVerifyCrypto.properties"/>
<parameter name="signatureKeyIdentifier" value="DirectReference"/>
</handler>properties file
org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=password
org.apache.ws.security.crypto.merlin.keystore.alias=signverf
org.apache.ws.security.crypto.merlin.alias.password=password
org.apache.ws.security.crypto.merlin.file=certs/signverf/signverf_pubkeystore
commands i used to generate keystore:
keytool -import -alias signverf -file privCert4Sign.cer -keystore signverf_pubkeystore -storepass password
keytool -list -alias signverf -keystore signverf_pubkeystore
i tried goggling for this error,in one thread i got this is because of some issue in axis 1.4 which i'm using and if i try using axis 1.2, this will not come,
for the time i'm not able to download axis 1.2 from any of the apache mirrors :( ,
if some one can provide me the link,it will be really helpful.
also if anyone as faced similar issue or can see whats going wrong here, please reply.
also below is my soap response capture using tcpmon
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><ds:Signature Id="Signature-18290758" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:Reference URI="#id-13753285" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:Transforms xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:DigestValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">jAaM4xp/2ZOch7iqyyLynojMpV0=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
JiOjIFgJ2qMvzJsirbjgV7AeDWfsS0Ak3xzue1nK+LXELM3tZ/h/eFyxCLZfLk+553vJbmnlU423
8NgjgngYcYa+bB6yTovZJKB66LdQEHLpmTX4WNteLrcVOBfHyZcJCKemF2XyaF4yX03XGAIdNnFV
1d8wZQcBgakPIrjJGAZtwo94bYBlL/MJedBP819Ecf/N6hEmafFxHD46Xapi+HdcDjQmCqxaol/I
bQuM3ikJJ2v+46bQNKEWavdG7lIicjUsvH3xpyzZthj26nAHV6nAOEe8tybKhKLga6KDM+3eAJNq
3s52yZTz68n7z5AijdmhMkc7ivCxELBx5TQYsw==
</ds:SignatureValue>
<ds:KeyInfo Id="KeyId-20631690" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<wsse:SecurityTokenReference wsu:Id="STRId-5317380" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:KeyIdentifier EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">MIIDLDCCAhSgAwIBAgICBNIwDQYJKoZIhvcNAQEFBQAwTzEWMBQGA1UEAwwNcHJpdkNlcnQ0U2lnbjEMMAoGA1UECgwDYWJzMQswCQYDVQQGEwJVUzEaMBgGCSqGSIb3DQEJARYLeHl6QGFiYy5jb20wHhcNMDcwOTA0MDQzNzMxWhcNMDgwMzAyMDQzNzMxWjBPMRYwFAYDVQQDDA1wcml2Q2VydDRTaWduMQwwCgYDVQQKDANhYnMxCzAJBgNVBAYTAlVTMRowGAYJKoZIhvcNAQkBFgt4eXpAYWJjLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJSG2UR8nMAxctBlR5YSnEVeuHNFMM7t8YQX6J8GRausKPXyDT4pIfPHRaeag62K4cUhBDYBLyUmZqYTZBHpKISgYkYsXqYHoB4gif664rZvpMKw+cTpD/3WzViOeHHWfQM5/XUatLBPXzRUB78PcM9RnCEeznKUEPoWxTfl2qsR0d4CxOVzH9dHn6JCEaQQWzntH61YCw4Qm6Kq78+sLfnv7CBrg/NYewFX9JozZk7UzlmPZWCm7pp2d4UDn1KB7nLnLFxD6aMgjAikWKAU4h15ihJxu6Appc+ggAdAV/jQiaIeAtokfe2Iw1bUh8SOOR8iUa9lK0Jf6C/N9ZTnxCcCAwEAAaMSMBAwDgYDVR0PAQH/BAQDAgTwMA0GCSqGSIb3DQEBBQUAA4IBAQCKfRu1cXkwwnNZ+0brwT4iI1q/Ti/OVMWpP15Ob7bDE5rUjwpNUJXXlqKdOh7pkk1gLTiebQrMkd0ozpbi/Xdmea1xf9diCc4IApg6K9G4KACR2sLeXcKy7d4hakYqMLeaPJwBcd3V6DGiJgfP2S8Ui8rQzDpslTBM1+YaBdUVIv1/VCFO/K5I4lkPkjGDp/qDm4lXn3Mup9HG9INgklA02hPnYHWunVZm/5MZpEn4BYks+B3VqCXSAkRVD9aAuM3Tv4atblHDs3oKTV1awoVQbKkw+Eonnc/+Mex8A5sJ/8eUnQ3UPdT77U0+WcrvwFxoFP2e0J8xHW8N8b2fIr8H</wsse:KeyIdentifier></wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature></wsse:Security></soapenv:Header>
<soapenv:Body wsu:Id="id-13753285" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<mesa:processData xmlns:mesa="http://www.sterlingcommerce.com/mesa" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProcessData>
<service>Test_Web2</service>
<b2b-protocol>http</b2b-protocol>
<transport-instance-id>MESAHttpServerAdapter_HttpServerAdapter_node1</transport-instance-id>
<SyncModeBP>false</SyncModeBP>
<http-request-uri>/soap-new</http-request-uri>
<transport-session-id>Fri Aug 31 14:04:57 IST 2007:110</transport-session-id>
<incomingSOAPTransportMode>http</incomingSOAPTransportMode>
<VERIFICATION_KEY/>
<DECRYPTION_KEY/>
<SECURITY_TOKEN_NAME>ST1</SECURITY_TOKEN_NAME>
<SIGNING_CERTIFICATE>blrgislin13:10.11.23.37:114bb0fb841:12328</SIGNING_CERTIFICATE>
<SIGNING_ALGO>http://www.w3.org/2000/09/xmldsig#rsa-sha1</SIGNING_ALGO>
<SIGNING_KEY_IDENTIFIER_TYPE>3</SIGNING_KEY_IDENTIFIER_TYPE>
<CANONICALIZATION_ALGO>http://www.w3.org/TR/2001/REC-xml-c14n-20010315</CANONICALIZATION_ALGO>
<SIGNATURE_ENCRYPTION_ORDER>-1</SIGNATURE_ENCRYPTION_ORDER>
<SOAP_URI>/soap-new</SOAP_URI>
<SOAPEnvNSPrefix>soapenv</SOAPEnvNSPrefix>
<SOAPEnvNSURI>http://schemas.xmlsoap.org/soap/envelope/</SOAPEnvNSURI>
<messageMode>1</messageMode>
<query_type>SELECT</query_type>
<result_name>result</result_name>
<pool>mysqlPool</pool>
<row_name>row</row_name>
<sql>SELECT * FROM MBX_MAILBOX</sql>
<serviceMode>1</serviceMode>
<typeName>LightweightJDBCAdapterQuery</typeName>
<PrimaryDocument SCIObjectID="blrgislin13:10.11.23.37:114bb0fb841:19200"/>
<ADD_SOAP_ENVELOPING>false</ADD_SOAP_ENVELOPING>
<INSERT_SECURITY_HEADER>false</INSERT_SECURITY_HEADER>
</ProcessData>
</mesa:processData>
</soapenv:Body>
</soapenv:Envelope>
sorry for this long mail, but we are really stuck and need to move forward,
looking for your help.Hi,
The Service Control Manager will generate an event if a service does not respond within the defined timeout period (the default timeout period is 30000 milliseconds). You could modify the registry to increase the default time-out value for the service control
manager.
For more detailed information, please see:
Event ID 7011: Service Timeout
http://social.technet.microsoft.com/wiki/contents/articles/13765.event-id-7011-service-timeout.aspx
The Event 12362 indicates that a destination LUN could not be located or could not be restarted. You could refer to the article below to troubleshoot the issue:
Event ID 12362 — VSS Shadow Copy Provider Operations
http://technet.microsoft.com/en-us/library/ee264223(v=ws.10).aspx
Best Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Leading ? xml version="1.0"? tag when creating / invoking web services
Hello friends. I'm wondering if anyone has any insight as to why I cannot create
a fully formed XML document when developing a web service which includes the standard
<? xml version="1.0" ?> leading tag.
If I include the leading tag in my XML mapping for a jws method, I am unable to
compile the service into an ear, getting the following error: "An unexpected
exception occurred while attempting to process the classes and annotations for
this Web Service." If I do not include the leading tag, I can compile into an
EAR file and invoke the web service from a HTTP POST, but I cannot include the
leading <?xml...> tag in my request. Considering that I'll be asking other vendors
to submit to my web services and creation of xml documents using DOM or other
methods automatically generates the <?xml ...>, I'm hoping I'm not going to have
to tell them to parse out this piece of the files they want to send me. Can anyone
help?
Thanks so much!
CMCM,
I suppose you have set 'http-xml=true' for this to work. For http-xml
protocol, there is no way to specify the leading <?xml> tag, and hence
unfortunately the desired functionality cannot be achieved.
In case, this is very important for you, could you please log a support
case, and then we can file a bug and ask the Engineering to look into it.
Thanks,
Anurag
"Crackhead Millionaire" <[email protected]> wrote in message
news:[email protected]...
>
Hi Anurag -
Thanks for the response. My problem is that I would like to be able tosubmit
straight XML (i.e., not SOAP) to a webservice from an application outsideof Weblogic.
For example, the following code block fails on submission to BEA:
* Example Simple Integration.
import java.io.*;
import java.net.*;
public class testBEAPost {
* Null constructor.
public testBEAPost () {
super();
* This method handles creation of a PeopleSoft XML Envelope, wrapping of
* user input into the envelope, submission of the message to theintegration
broker
* and display of the response message to the screen.
* @created 3.12.2003
* @param argv java.lang.String[] Standard user entry input
public static void main(String[] argv) {
try{
URL url;
URLConnection urlConn;
DataOutputStream printout;
DataInputStream input;
// Create the internal XML document which will be to send to BEA.(hardcoded)
>
String internalXMLDoc = "<? xml version=\"1.0\"?><newlocationxmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><setid>WMS</setid><l
ocationid>1118UG0000</locationid><description>Electric
UndergroundLocation</description><exceptionemailaddress>[email protected]<
/exceptionemailaddress></newlocation>";
>
// Define the target URL.
url = newURL("http://167.75.117.20:7001/WebServices/PeopleSoftWebServices/NewLocation
Service.jws/createLocation");
>
// Open the Conection
urlConn = url.openConnection();
// Set necessary connection variables.
urlConn.setDoInput (true);
urlConn.setDoOutput (true);
urlConn.setUseCaches (false);
// Specify the content type.
urlConn.setRequestProperty("Content-Type", "text/xml");
// Send POST output.
printout = new DataOutputStream (urlConn.getOutputStream ());
printout.writeBytes (internalXMLDoc);
printout.flush ();
printout.close ();
// Get response data.
input = new DataInputStream (urlConn.getInputStream ());
String str;
while (null != ((str = input.readLine())))
System.out.println (str);
input.close ();
} catch (Exception e)
System.out.println(e);
If I run this program, I get a java.io.IOException with the serverreturning a
500 error code. However, if I strip out the leading <? xml version="1.0"?> tag
and submit to the web service, it works fine. My program set I createdthis example
for uses DOM to create the document, so I'm actually creating thedocument, getting
the String value of it, then parsing out the leading tag beforesubmission. My
problem is that soon I'll be dealing with third parties who may havetrouble generating
SOAP requests (don't ask), so I'd like to be able to tell them to generatesimple
XML documents to send to BEA if at all possible.
Can you assist? Thanks so much.
"Anurag Pareek" <[email protected]> wrote:
CM,
A SOAP message generated by a Workshop web service, when it acts as a
client
to another service, always contains the leading <?xml> tag. Here is a
sample
of a SOAP message generated by Workshop:
POST /TestImport/TestAny/TestAny.jws HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 1.0.3705.0; BEA WLW 7.0)
SOAPAction: "http://www.openuri.org/hello2"
Host: localhost
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: Keep-Alive
Content-Length: 398
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<hello2 xmlns="http://www.openuri.org/">
<o></o>
</hello2>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
It seems to me that what you are asking for is already there. Could you
please elaborate your issue further, probably with a sample of a XML
message
which you feel is not accepted by Workshop, but should be.
Thanks,
Anurag
"Crackhead Millionaire" <[email protected]> wrote in message
news:[email protected]...
Hello friends. I'm wondering if anyone has any insight as to why Icannot
create
a fully formed XML document when developing a web service which
includes
the standard
<? xml version="1.0" ?> leading tag.
If I include the leading tag in my XML mapping for a jws method, Iam
unable to
compile the service into an ear, getting the following error: "Anunexpected
exception occurred while attempting to process the classes and
annotations
for
this Web Service." If I do not include the leading tag, I can compileinto an
EAR file and invoke the web service from a HTTP POST, but I cannotinclude
the
leading <?xml...> tag in my request. Considering that I'll be askingother vendors
to submit to my web services and creation of xml documents using DOMor
other
methods automatically generates the <?xml ...>, I'm hoping I'm notgoing
to have
to tell them to parse out this piece of the files they want to sendme.
Can anyone
help?
Thanks so much!
CM -
11g on VMWare Not Starting Service, ORA-12560 etc.
It's obvious that my Listener is up and running but that the Oracle Service never got started. I'm using a VMware instance of Win2003 Server with Oracle 11g on it.
I'm having very similar issues to the person that wrote this:
http://www.dbasupport.com/forums/showthread.php?t=50051
ORA-12560 at service startup *** ( protocol adapter error )
I'm working on a VMware instance, and I'm not trying to connect from another machine, so I don't think I'll need a 'tnsnames.ora'.
I did review my listener.ora and sqlnet.ora
and I did adjust my hosts file (on this Win2003 Server, vmware instance), adding an entry to resolve local host and also the FQ machine name to 127.0.0.1
This I was unsure about since when I ping the FQ machine name (property of My Computer) I get a unique ip address.
There's also the VMware issues of what Ethernet connection setting to use: Bridged, NAT or Host Only.
I've tried to look at logs and config files: connection, startup, trace log, etc.
Set tracing on and saw some errors in the trace, but not sure about how to go about debugging those.
It's apparent that I'll need to start the Database with oradim or a version specific command, oradimxx but I wasn't sure what to use for my -pfile parameter, or how to create orainit.ora or configure that file.
One last thing: Previously my program group for 11g had 'Enterprise Manager' which brought up the webpage and showed that the database was up, uptime and other stats. Now that menu link has disappeared.
Any suggestions on all of these issues ? TIA.Yeah , of course Oracle offers his own hypervisor... that's one very powerful reason.
Please provide us with proper references to support your statements, we all will appreciate that.
Regards
Ignacio
[http://oracledisect.blogspot.com]
Edited by: Ignacio Ruiz on Sep 4, 2008 8:20 PM
I've found the answer on Metalink Note 249212.1, which basically says that Oracle doesn't certifies any product on any VMWare virtualization products, however Oracle will support the product isolating the relationship among operating system and the Oracle product, to known issues or not known issues BUT not related to the existence of an hypervisor layer (VMWare in this case, and distinct of Oracle VM).
In other words, if you have an issue where a certified OS+Oracle product is running over a VMWare product, you'll be lucky if the error is replicated without the VMWare product, otherwise it will be an issue induced from the hypervisor layer, therefore the hypervisor provider must solve.
Anybody interested will follow similar proceedings with another VM products like Virtuozzo (Note 412431.1), Xen (Note 417770.1), this clearly shows a commercial strategy...not technical barriers. -
Call thirty party java web service but always return null
hi
I call a java web service in my application visual studio 2008 c#, but always return NULL.
I used Tool Fiddler to monitor the traffic between my client and the web service server, it showed the return is not Null.
Here is my code, please see if anything I do wrong.
namespace CanOfficer_THQ_vs_IHQ.TestWebReferenceAppointment {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="AppointmentServiceSoapBinding", Namespace="http://service.ips.salvationarmy.org/")]
public partial class AppointmentService : Microsoft.Web.Services3.WebServicesClientProtocol {
private System.Threading.SendOrPostCallback deleteAppOperationCompleted;
private System.Threading.SendOrPostCallback importAppOperationCompleted;
private System.Threading.SendOrPostCallback editAppOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public AppointmentService() {
this.Url = global::CanOfficer_THQ_vs_IHQ.Properties.Settings.Default.CanOfficer_THQ_vs_IHQ_TestWebReferenceAppointment_AppointmentService;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
else {
this.useDefaultCredentialsSetExplicitly = true;
public new string Url {
get {
return base.Url;
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
base.Url = value;
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
/// <remarks/>
public event deleteAppCompletedEventHandler deleteAppCompleted;
/// <remarks/>
public event importAppCompletedEventHandler importAppCompleted;
/// <remarks/>
public event editAppCompletedEventHandler editAppCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute(
RequestNamespace="http://service.ips.salvationarmy.org/",
ResponseNamespace="http://service.ips.salvationarmy.org/",
Use=System.Web.Services.Description.SoapBindingUse.Encoded,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string deleteApp([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int id) {
object[] results = this.Invoke("deleteApp", new object[] {
id});
return ((string)(results[0]));
/// <remarks/>
public void deleteAppAsync(int id) {
this.deleteAppAsync(id, null);
/// <remarks/>
public void deleteAppAsync(int id, object userState) {
if ((this.deleteAppOperationCompleted == null)) {
this.deleteAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OndeleteAppOperationCompleted);
this.InvokeAsync("deleteApp", new object[] {
id}, this.deleteAppOperationCompleted, userState);
private void OndeleteAppOperationCompleted(object arg) {
if ((this.deleteAppCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.deleteAppCompleted(this, new deleteAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute(
RequestNamespace="http://service.ips.salvationarmy.org/",
ResponseNamespace="http://service.ips.salvationarmy.org/",
Use=System.Web.Services.Description.SoapBindingUse.Encoded,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string importApp(
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int person,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string name,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string territory,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string location,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] bool primary,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> start,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> end,
[System.Xml.Serialization.XmlElementAttribute("categories", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] categories) {
object[] results = this.Invoke("importApp", new object[] {
person,
name,
territory,
location,
primary,
start,
end,
categories});
return ((string)(results[0]));
/// <remarks/>
public void importAppAsync(int person, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories) {
this.importAppAsync(person, name, territory, location, primary, start, end, categories, null);
/// <remarks/>
public void importAppAsync(int person, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories, object userState) {
if ((this.importAppOperationCompleted == null)) {
this.importAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OnimportAppOperationCompleted);
this.InvokeAsync("importApp", new object[] {
person,
name,
territory,
location,
primary,
start,
end,
categories}, this.importAppOperationCompleted, userState);
private void OnimportAppOperationCompleted(object arg) {
if ((this.importAppCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.importAppCompleted(this, new importAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute(
RequestNamespace="http://service.ips.salvationarmy.org/",
ResponseNamespace="http://service.ips.salvationarmy.org/",
Use=System.Web.Services.Description.SoapBindingUse.Encoded,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string editApp(
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int id,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string name,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string territory,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string location,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] bool primary,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> start,
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] Nullable<System.DateTime> end,
[System.Xml.Serialization.XmlElementAttribute("categories", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] categories) {
object[] results = this.Invoke("editApp", new object[] {
id,
name,
territory,
location,
primary,
start,
end,
categories});
return ((string)(results[0]));
/// <remarks/>
public void editAppAsync(int id, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories) {
this.editAppAsync(id, name, territory, location, primary, start, end, categories, null);
/// <remarks/>
public void editAppAsync(int id, string name, string territory, string location, bool primary, Nullable<System.DateTime> start, Nullable<System.DateTime> end, string[] categories, object userState) {
if ((this.editAppOperationCompleted == null)) {
this.editAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OneditAppOperationCompleted);
this.InvokeAsync("editApp", new object[] {
id,
name,
territory,
location,
primary,
start,
end,
categories}, this.editAppOperationCompleted, userState);
private void OneditAppOperationCompleted(object arg) {
if ((this.editAppCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.editAppCompleted(this, new editAppCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
return false;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void deleteAppCompletedEventHandler(object sender, deleteAppCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class deleteAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal deleteAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void importAppCompletedEventHandler(object sender, importAppCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class importAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal importAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void editAppCompletedEventHandler(object sender, editAppCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class editAppCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal editAppCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));Hi;
I used Fiddler to monitor the process, and it showed the request sent thru web service worked and returned a value, but in my .Net application the return captured as NULL. Could you please look into the code above and the result from Filddler and see if
you can help.
thank you.
REQUEST:
POST https://159.253.140.178/services/AppointmentService HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4252)
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Host: 159.253.140.178
Content-Length: 1589
Expect: 100-continue
Connection: Keep-Alive
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://service.ips.salvationarmy.org/" xmlns:types="http://service.ips.salvationarmy.org/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<soap:Header>
<wsse:Security mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>
[email protected]
</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">
tpi4IPSws!
</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:importApp>
<person xsi:type="xsd:int">
169275
</person>
<name xsi:type="xsd:string">
Corps Officer (Cahul-Russia) Test12
</name>
<territory xsi:type="xsd:string">
CAN
</territory>
<location xsi:type="xsd:string">
TEST LOCATION 12
</location>
<primary xsi:type="xsd:boolean">
true
</primary>
<start xsi:type="xsd:dateTime">
2013-05-30T00:00:00
</start>
<end xsi:type="xsd:dateTime">
2014-06-04T00:00:00
</end>
<categories href="#id1" />
</tns:importApp>
<soapenc:Array id="id1" soapenc:arrayType="xsd:string[1]">
<Item>
vpsCat1
</Item>
</soapenc:Array>
</soap:Body>
</soap:Envelope>
RESPONSE:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Content-Length: 232
Date: Fri, 05 Sep 2014 19:45:22 GMT
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:importAppResponse xmlns:ns2="http://service.ips.salvationarmy.org/">
<return>
OK_572463
</return>
</ns2:importAppResponse>
</soap:Body>
</soap:Envelope> -
ESB Routing Service Byte Order Mark error
Hi,
I have a esb routing service to accept soap messages from an external system. The external system sents messages with a Byte Order Mark for UTF8 at the start. If i look at the tcp messages i see the following:
POST /event/DefaultSystem/CaseVerhuizing/EsbStuf0204Service HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 2.0.50727.42)
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.egem.nl/StUF"
Host: ux920:7777
Content-Length: 2382
Expect: 100-continue
Connection: Keep-Alive
HTTP/1.1 100 Continue
...<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
The three dots signify the hexadecimal value EF BB BF which is for UTF8. This raises an error however in iAS:
HTTP/1.1 400 Bad Request
Date: Mon, 16 Jul 2007 14:41:32 GMT
Server: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server
Content-Length: 158
Connection: close
Content-Type: text/html; charset=ISO-8859-1
Bad Request
Error parsing envelope: (1, 1) Start of root element
expected
It seems the esb routing service is trying to parse the Byte Order Mark as xml and therfore can not find the soap envelope tag? Any help is appreciated!
Kind Regards,
Andre Jochems
Message was edited by:
ajochemsHi Andre,
We got exactly the same error as you did. Your analysis is also correct; the first 3 bytes of the reply are not interpreted by BPEL/ESB as a BOM, but as 'real' characters.
The problem is due to the fact that the UTF-8 BOM is actually optional in the specifications, and obligatory for UTF-16. The UTF-8 BOM practically has no meaning, and is never used in most SOA applications. However the guys that made the webservice you need to consume are (wrongly) convinced that the UTF-8 BOM is supposed to be there according to the OASIS/W3C specs. Which is not true btw...
For more info on BOMs, check: http://en.wikipedia.org/wiki/Byte_Order_Mark
Unfortunately I don't have the code for our 'proxy' service anymore. I remember that we simply made a little servlet, that uses input- and outputstreams. The inputstream then filters the BOM. Remember to also proxy the WSDL to 'rewrite' the endpoint ;-)
HTH,
Bas -
SINGLETRANSACTION=1 / WEBGUI=1 parameters & CAT2 service
Hello!!
I have the following configuration:
~WEBGUI =1
~RECORD=1
~SINGLETRANSACTION=1
~TRANSACTION=CAT2
~NOHEADEROKCODE=1
~WEBGUI_THEME=sl
~THEME=sl
~WEBGUI_ICON_TOOLBAR=2
~WEBGUI_SIMPLE_TOOLBAR=40
It's ok, but I have a BIG problem with the ~SINGLETRANSACTION=1 parameter.
CAT2 transaction is an application with multiple dynpros; in the first screen, I'm entering the corresponding data and I click over modify button.
Then, I'm entering in another dynpro of the same program, the main dynpro of the transaction. If i click over back button to go back to initial CAT2 screen, the system is giving me a Log Off message.
If I delete the ~SINGLETRANSACTION=1 I can go back to initial CAT2 screen, but then I could go to any transaction!
I just need to be able to navigate in CAT2 transaction, but I could go back to initial CAT2 screen. Any idea?
Thx!
Miguel Angel.Hi Miguel,
If you mean the first screen as the one where you inform the "Data Entry Profile" and the "Personnel Number" then you can use one additional setting in the SICF service:
Go to "Error Pages" tab -> "Logoff Page" -> you can set the "Redirect to URL", informing the URL to this specific service, including protocol, hostname (FQDN), port and complete path to the ICF service.
I hope this helps.
Best regards,
Cristiano -
Call Webservice published by Biztalk web service wizard failed.
Dears
I have met an werid issue when call a webservice publish be biztalk.
in fact I have publish three web services totally. the problem is two of them are working, and third is not.
this is the iis log captured. I found 500 error, has any one met this issue and know about the root cause?
#Date: 2013-12-12 07:37:45
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2013-12-12 07:37:45 ::1 GET /EOrdering_Order_Proxy/ - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
200 0 0 1885
2013-12-12 07:37:53 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
200 0 0 1763
2013-12-12 07:38:01 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
200 0 64 5241
2013-12-12 07:38:01 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
200 0 0 680
2013-12-12 07:38:03 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
200 0 0 98
2013-12-12 07:39:10 10.44.23.216 OPTIONS /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 - 200 0 0 0
2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata - 80 - 10.44.23.216 - 500 0 0 8
2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/$metadata - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 500 0 0 6
2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 5
2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx disco 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 22
2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052)
500 0 0 70
2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx wsdl 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 435
2013-12-12 07:39:10 10.44.23.216 POST /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 - 500 0 0 338
2013-12-12 07:39:11 10.44.23.216 POST /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/mex - 80 - 10.44.23.216 - 500 0 0 679
this issue is samiliar with
http://social.msdn.microsoft.com/Forums/en-US/8984be48-3221-4ca7-9e60-00cc51e9d46a/request-format-is-unrecognized-for-url-unexpectedly-ending-in-metadata?forum=biztalkgeneral
I also saw the event log metioned in that artilce. but I don't understand the root casue and solution. can anyone kindly help?This is the Event log detail, has any on met this issue before?
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/12/2013 4:21:56 PM
Event time (UTC): 12/12/2013 8:21:56 AM
Event ID: 7f0cb6e13bc8411e8f9ab5fa4d3c1a50
Event sequence: 4
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/EOrdering_Order_Proxy-1-130313101166971105
Trust level: Full
Application Virtual Path: /EOrdering_Order_Proxy
Application Path: C:\inetpub\wwwroot\EOrdering_Order_Proxy\
Machine name: CNSHABPMQADB01
Process information:
Process ID: 3660
Process name: w3wp.exe
Account name: SNCORP\sgbpm01
Exception information:
Exception type: InvalidOperationException
Exception message: Request format is unrecognized for URL unexpectedly ending in '/_vti_bin/ListData.svc/$metadata'.
at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: .......................
Request path: /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: SNCORP\sgbpm01
Thread information:
Thread ID: 6
Thread account name: SNCORP\sgbpm01
Is impersonating: False
Stack trace: at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details: -
SAXException submitting to Web Service, but works fine in "Test" button in dialog
I have an external web service to call from LC, and I know it works with a sample XML file I was given. When I exercise that xml in the Test area of the WebService Settings dialog for the Invoke Web Service activity in my LC process, it works perfectly.
But when I actually invoke the process, I get this error back from the service's server:
<faultstring>org.xml.sax.SAXException: WSWS3084E: Error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
I put WireShark on the LC dev server I'm using, and was able to observe that when the Test button calls the web service, the Protocol is marked as HTTP/XML. When I run it through my process using the exact same xml as the test is using, it reports just HTTP, not HTTP/XML. That's the only clue I can find as to what's different about the 2 calls, one succeeding, the other failing.
Has anyone seen anything like this and have a solution? I'm unable to invoke this web service. Note that other calls to the same server work fine, with identical settings and similar operations.
Thanks!I don't advocate or use global variables either. However a functional global (sometimes called an action engine) is not a traditional global variable. It is a subVI with an uninitialized shift register to store the data and an input which indicates what action should be performed. In the simplest case this is just initialize, read and write. However you can perform more complex tests or operations on this data as well. An action engine can be viewed similar to an object. You have a single instance that has data and methods you can perform. However action engines (unless implement using LVOOP) do not support all of the other features of OOP classes and objects.
The fact that your program crashes tells me that in some part of your code your reference is becoming invalid. You could be running into a case where the reference is being automatically closed and released due to the order of execution of your code. It is not an inherent flaw in the language.
In addition, a good application architecture will try to decouple the UI from the processing tasks. Passing references to items on the UI to low level tasks creates an explicit link between the UI and the processing task. It couples them together and makes reuse more difficult. Creating an API (via events, notifiers, queues or an action engine) decouples the processing task from the UI. It makes your application code more flexible and easier to reuse.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Maybe you are looking for
-
HP m1536dnf mfp: ePrint Problems
The instructions to find the eprint email address don't work as they appear on this Help Page: https://h30495.www3.hp.com/help#print_apps My Laser Jet has the 2-line display and when I print the Information Sheet as advised, there is no email address
-
Slow imc COM (ActiveX)-libraries inside LabView
Hi I'm using the imc COM (ActiveX)-libraries inside labview. The key command is the "automation open" block from LabView and selecting the desired ActiveX class. Here his the definition of one of this function: Function DChannel.GetDataDouble( StartI
-
I have Premiere Pro CS4. When I export my video to mpeg-4 format, there is no video. When I export to mpeg-2DVD format, there is a separate wav audio file. Adobe Media Encoder, which I use automatically as the export encoding software, does not seem
-
ARD 3 doesn't find a file that exists in Report...File Search
I am trying to gather files with the Report...File Search tool. The files exist on the computers but ARD doesn't find them. I can search for another file in the same folder as the one I am actually looking for, and ARD finds it. If I use the Finder's
-
Is there is an alternative of IFbA 'Interactive Form by Adobe' that can achieve the same functionality (custom solution etc.)? Please also mention the alternative that can get close but may miss on few of the functionalities, would like to know the f