Getting errors with tag lib using Web Service
I have created a web service client in my WEB-INF/classes catalogue. Im having problems because i get this error message when I compile:
myServices/myCardValidate$Documents/verifyCreditCard_SOAPXML.jsp [-1:-1] This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application
myServices/myCardValidate$Documents/verifyCreditCard_TAGLIB.jsp [-1:-1] File "/WEB-INF/Service1Soap.tld" not found
Errors compiling Web module compiling..
anyone got a clue ?
My other .jsp pages located in the WEB-INF catalogue has the http://java.sun.com/jstl/core uri and works fine...
thanks in advance..
Answering my own post to help others with the same problem:
Im using Sun One Studio 5. What causes the error is that Sun Studio generates by default presentation jsp's etc. for the Web service client. At the properties tab of the client I set the Generate presentation parameter to False. No presentation jsp's are now generated and compiling and deployment of the web module works out fine.
yours Aqoiiye
Similar Messages
-
Encapsulation Error in Crystal Reports using Web Service Connection
Hi Experts,
I'd like to request help in investigating an issue we are currently having in Crystal Reports. Basically, the solution design is:
-Web Service is Used as connection
-Dynamic Hyperlink value is used to access another Crystal Report
Issue: Dynamic Hyperlink value is based on a summary. We are getting Encapsulation Error message whenever we try to click a link having 30k value.
Does anyone here can give us some tip on how to investigate the issue? For such cases, which component (datasource, CR, etc.) of the solution normally causes the issue? Are there any limitation in using Web Service for Crystal Reports?
We'd greately appreciate any help here.
Kind Regards and Many Thanks,
MarkHi Mark,
There could be many reasons for this rather 'generic' error. Is the Business Objects Enterprise clustered?
Also, could you try saving both the Main and the target reports to the Enterprise with the 'No printer' option checked.
(File > Page Setup> No Printer).
Also, what happens when the target report is viewed on its own?
Let me know how it goes!
-Abhilash -
Novice Help with Creating Opportunities Using Web Services 2.0
Hello,
I recently took over our CRM integration services and was asked to push some data via our custom portal.
We use our portal to automate the creation of new opportunities in our Oracle CRM System.
The code was developed using Web Services 1.0
I was recently asked to add data to the "Parent Opportunity" field upon creation of a new Opportunity. Now I may be mistaken and if I am I will be very pleased, but it seems to me this field isn't available in 1.0
If I am mistaken and there IS a way to push data to the "parent opportunity" field using 1.0 Please completely disregard what I have typed below.
Upon looking at the WSLD for 2.0 I see "ParentoptyID" as an available field.
I took it upon myself to try and move this process over to 2.0 but I have hit a few major stumbling blocks. Here is the working code for 1.0:
Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal Account As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal AnnBudget As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal Territory As String, ByVal Owner As String, ByVal Opp As String) As String
Dim opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
Dim input As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
Dim results As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
Dim strPriority As String = "1-High,2-Medium,3-Low"
Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
CRMAddFinalShipmentOpportunity2 = ""
' Validate Data (CRM will validate if owner is valid)
If Owner = "" Then
AddError("Error: Missing Owner")
Exit Function
End If
If Subject = "" Then
AddError("Error: Missing Subject")
Exit Function
End If
If strType.IndexOf(Type) < 0 Then
AddError("Error: Invalid or Missing Type")
Exit Function
End If
If strStatus.IndexOf(Status) < 0 Then
AddError("Error: Invalid or Missing Status")
Exit Function
End If
If strPriority.IndexOf(Priority) < 0 Then
AddError("Error: Invalid or Missing Priority")
Exit Function
End If
If Not IsDate(DueDate) Then
AddError("Error: Invalid or Missing DueDate")
Exit Function
End If
Try
opportunity.Url = Session.GetURL()
opportunity.CookieContainer = Session.GetCookieContainer()
'Create the opportunity
Dim tmpAry(0) As nkkcrm.SiebelOpportunity20.Opportunity
input.ListOfOpportunity(0) = tmpAry
input.ListOfOpportunity.SetValue(New nkkcrm.SiebelOpportunity20.Opportunity, 0)
'Assign the opportunity Properties
input.ListOfOpportunity(0).Owner = Owner
input.ListOfOpportunity(0).OpportunityName = Subject
input.ListOfOpportunity(0).AccountName = Account
input.ListOfOpportunity(0).SalesStage = "Rebuy"
input.ListOfOpportunity(0).CloseDate = Date.Today
input.ListOfOpportunity(0).Territory = Territory
input.ListOfOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
input.ListOfOpportunity(0).SourceCampaign = "Rebuy"
input.ListOfOpportunity(0).OpportunityType = oppType
input.ListOfOpportunity(0).Revenue = AnnBudget
input.ListOfOpportunity(0).Description = Description
input.ListOfOpportunity(0).bRebuy = "Y"
input.ListOfOpportunity(0).ProductInterest = partNumber
input.ListOfOpportunity(0).plCurrency_Type = currency
'input.ListOfOpportunity(0).ParentoptyId = Opp
'insert the opportunity
results = opportunity.OpportunityInsert(input)
If results.ListOfOpportunity.Length > 0 Then
CRMAddFinalShipmentOpportunity2 = results.ListOfOpportunity(0).OpportunityId
End If
Catch webex As WebException
AddError(webex.Message)
Catch ex As Exception
AddError(ex.Message)
End Try
End Function
What changes might I need to make in order to make this function correctly using Web Services 2.0?
Currently I get the following errors- For every line of input.ListOfOpportunity(0) I get: '..cannot be indexed because it has no default property.'
Another example of an issue I'm running into is: 'SetValue' is not a member of 'nkkcrm.SiebelOpportunity20.ListOfOpportunityData'We were able to make this work by re-modeling my code after a code sample I found that creates new Activities.
Here's my code in case it helps someone scanning these forums in the future (Disregard the Opportunity entries that are missing when you compare this to my earlier code- Those weren't relevant to making this work or not work, I simply am not using them now.):
Public Function CRMAddFinalShipmentOpportunity2(ByVal Session As Session, ByVal Owner As String, ByVal Subject As String, ByVal Type As String, ByVal Priority As String, ByVal DueDate As String, ByVal Status As String, ByVal Description As String, ByVal POValue As String, ByVal oppType As String, ByVal partNumber As String, ByVal currency As String, ByVal servername As String, ByVal pass As String, ByVal usrname As String) As String
'Get SessionID
Dim sessionId As String
sessionId = getSessionLogin(usrname, pass, servername)
Dim Opportunity As nkkcrm.SiebelOpportunity20.Opportunity = New nkkcrm.SiebelOpportunity20.Opportunity
Dim OppInput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Input
Dim OppOutput As New nkkcrm.SiebelOpportunity20.OpportunityInsert_Output
Dim strPriority As String = "1-High,2-Medium,3-Low"
Dim strType As String = "Call,Correspondence,Email,Event,Final Shipment - Book,Final Shipment - Special,Lead Follow-Up,Meeting,Opportunity Follow-Up,Other,Presentation,Quote Follow-Up,Sample Follow-Up,Service Request Follow-Up"
Dim strStatus As String = "Completed,Deferred,Waiting For Someone Else,In Progress,Not Started,Assigned,In Call"
'Validate Data (CRM will validate if owner is valid)
If Owner = "" Then
AddError("Error: Missing Owner")
Exit Function
End If
If Subject = "" Then
AddError("Error: Missing Subject")
Exit Function
End If
If strType.IndexOf(Type) < 0 Then
AddError("Error: Invalid or Missing Type")
Exit Function
End If
If strStatus.IndexOf(Status) < 0 Then
AddError("Error: Invalid or Missing Status")
Exit Function
End If
If strPriority.IndexOf(Priority) < 0 Then
AddError("Error: Invalid or Missing Priority")
Exit Function
End If
If Not IsDate(DueDate) Then
AddError("Error: Invalid or Missing DueDate")
Exit Function
End If
'Instantiate OpportunityData
Dim objListOfOpportunity As nkkcrm.SiebelOpportunity20.ListOfOpportunityData
Dim objOpportunity As nkkcrm.SiebelOpportunity20.OpportunityData()
Try
objOpportunity = New nkkcrm.SiebelOpportunity20.OpportunityData(0) {}
objListOfOpportunity = New nkkcrm.SiebelOpportunity20.ListOfOpportunityData()
objOpportunity(0) = New nkkcrm.SiebelOpportunity20.OpportunityData
'Assign the opportunity Properties
objOpportunity(0).Owner = Owner
objOpportunity(0).OpportunityName = Subject
objOpportunity(0).AccountName = "UNKNOWN"
objOpportunity(0).SalesStage = "Rebuy"
objOpportunity(0).CloseDate = Date.Today
objOpportunity(0).Territory = "North America"
objOpportunity(0).stProject_Name = "FINAL SHIPMENT REBUY"
objOpportunity(0).SourceCampaign = "Rebuy"
objOpportunity(0).OpportunityType = oppType
objOpportunity(0).Revenue = POValue
objOpportunity(0).Description = Description
objOpportunity(0).bRebuy = True
objOpportunity(0).ProductInterest = partNumber
objOpportunity(0).plCurrency_Type = currency
'Connect the Opportunity to ListOfOpportunity
objListOfOpportunity.Opportunity = objOpportunity
'Connect ListofOpportunity to Input Parameter
OppInput.ListOfOpportunity = objListOfOpportunity
Opportunity.Url = servername & "/Services/Integration;jsessionid=" & sessionId
'Opportunity.CookieContainer = Session.GetCookieContainer()
Opportunity.OpportunityInsert(OppInput)
Return "success"
Catch webex As WebException
AddError(webex.Message)
Catch ex As Exception
AddError(ex.Message)
End Try
End Function
Public Function getSessionLogin(ByVal usrname As String, ByVal pass As String, ByVal servername As String)
Dim loginurl As String = servername & "/Services/Integration?command=login"
'MessageBox.Show(loginurl);
Dim req As HttpWebRequest = DirectCast(WebRequest.Create(loginurl), HttpWebRequest)
' username and password are passed as HTTP headers
req.Headers.Add("UserName", usrname)
req.Headers.Add("Password", pass)
' cookie container has to be added to request in order to
' retrieve the cookie from the response.
Dim cookie As Cookie
req.CookieContainer = New CookieContainer()
' make the HTTP callby
Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse)
If resp.StatusCode = System.Net.HttpStatusCode.OK Then
' store cookie for later...
cookie = resp.Cookies("JSESSIONID")
If cookie Is Nothing Then
Return "invalid session"
End If
Return cookie.Value
Else
Return "invalid session"
End If
End Function -
How can i records with date format using web services?
Hello
I can't record date records using web services. I get no message errors.
I can import string values but no dates (YYYY-MM-DD). Do you have any clue about that?
Regards
Arturohello,
That's the code I'm using to update an opportunity. In the date fields (e.g. dFecha_de_entrega_al_cliente) I've tried to put an specific date in the correct format (If i put it in another format i've got an error message due the wrong format). The CRM accepted the code but it didn't update the values that are different of string.
I don´t know if there is something missing in teh program or if the developer environment is not the adequate.
Regards for your comments
Arturo
Private Sub ActualizarOportunidad(ByVal fila As Data.DataRow, ByVal TipoPersona As String)
Dim oLog As New Log()
Dim IdLog As Integer
Dim NumSerie As String = ""
Try
oLog.Insert_Log("Activación Garantía - Crear Oportunidad", oLog.GetLastIdProceso())
IdLog = oLog.GetLastId()
Dim sr_input As Opportunity.OpportunityUpdate_Input
Dim sr_output As Opportunity.OpportunityUpdate_Output
sr_input = New Opportunity.OpportunityUpdate_Input
Dim sr(1) As Opportunity.OpportunityData
sr(0) = New Opportunity.OpportunityData
NumSerie = fila("NumeroSerie").ToString().Trim()
sr(0).ExternalSystemId = NumSerie
sr(0).OpportunityName = fila("NumeroSerie").ToString().Trim()
sr(0).SalesStage = "Deseo" '"Cerrada/Ganada"
sr(0).dFecha_de_entrega_al_cliente = fila("FechaEmision").ToString().Trim()
sr(0).dFecha_de_facturacin_al_cliente = fila("FechaCompra").ToString().Trim()
sr(0).stNro_Factura = fila("NumeroFactura").ToString().Trim()
sr(0).plActividad_Economica = fila("IdActividad").ToString().Trim()
sr(0).plTipo_de_Venta = fila("TipoCompra").ToString().Trim()
sr(0).CustomObject8ExternalSystemId = fila("ApellidoVendedor").ToString.Trim()
'sr(0).CustomObject8ExternalSystemId = IIf(TipoPersona = "J", fila("DocumentoE").ToString().Trim(), fila("Documento").ToString.Trim())
'sr(0).CustomObject7ExternalSystemId = fila("")
Dim lofsr As Opportunity.ListOfOpportunityData
lofsr = New Opportunity.ListOfOpportunityData
lofsr.Opportunity = sr
sr_input.ListOfOpportunity = lofsr
sr_output = oOpportunity.OpportunityUpdate(sr_input)
oLog.Update_Log(IdLog, "Si", NumSerie, "")
Catch ex As SoapException
Me.txtError.Text = ex.Detail.InnerText.ToString()
oLog.Update_Log(IdLog, "No", NumSerie, ex.Detail.InnerText.ToString())
End Try
End Sub
************************************************************************ -
How to get a collection of beans using web services
Hi,
I'm new to SOAP and Web Services I'd like to know whether the following is possible
or not.
I've created an EJB with this business interface:
public interface Users implements EJBObject {
public User[] getUsers( ) ...
Where the User object is a bean with some properties:
public User implements Serializable {
public void setName( ... ) ...
public String getName( ) ...
public void setAddress( ... ) ...
public String getAdress( ) ...
I've create the ejb-jar.xml and weblogic-ejb-jar.xml that contain the definition
of my EJB and then I try to deploy the web services using the ant task 'wsgen'.
I get the following exception:
org.xml.sax.SAXException: Could not find a codec that understood how to convert
class [LUser; using http://schemas.xmlsoap.org/soap/encoding/
: [ CodecFactory: http://xml.apache.org/xml-soap/literalxml=null, http://schemas.xmlsoap.org/soap/encoding/=null,
=null]
Can someone help to resolve this ? Also, I'd like to know if it's possible that
a web service return a collection of beans as shown above ?
Thanks for your help.
Ludovic.Java beans are serialized/deserialized by the soap encoding codec
itself. you dont have to write custom encoders. I think the error
is because you dont have the java bean class on the server side.
Java bean class file should be in the classpath or it should be
added to the ejb jar file.
thanks,
-manoj
Ludovic Deravet wrote:
Thanks for your help. Indeed, that was my problem.
But now I'm facing this one:
[SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found to
deserialize a 'urn:local:ns0:return' using encoding style 'http://sch
emas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.IllegalArgumentException: No Deserializer found to
deserialize a 'urn:local:ns0:
return' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.]
at org.apache.soap.rpc.Call.invoke(Call.java:246)
at com.webservices.WSClient.main(WSClient.java:38)
Did you implement your own deserializer to read your array of beans (called
Data) ? Or do I need to do something else ?
Thanks.
Ludovic.
"manoj cheenath" <[email protected]> wrote in message
news:[email protected]...
You can do this. I guess, the problem is because you have
not defined a package for the bean.
Try something like:
package foo.bar;
class User{
I am attaching an example.
-manoj
Ludovic Deravet wrote:
Hi,
I'm new to SOAP and Web Services I'd like to know whether the following
is possible
or not.
I've created an EJB with this business interface:
public interface Users implements EJBObject {
public User[] getUsers( ) ...
Where the User object is a bean with some properties:
public User implements Serializable {
public void setName( ... ) ...
public String getName( ) ...
public void setAddress( ... ) ...
public String getAdress( ) ...
I've create the ejb-jar.xml and weblogic-ejb-jar.xml that contain thedefinition
of my EJB and then I try to deploy the web services using the ant task'wsgen'.
I get the following exception:
org.xml.sax.SAXException: Could not find a codec that understood how toconvert
class [LUser; using http://schemas.xmlsoap.org/soap/encoding/
: [ CodecFactory: http://xml.apache.org/xml-soap/literalxml=null,
http://schemas.xmlsoap.org/soap/encoding/=null,> > > =null
Can someone help to resolve this ? Also, I'd like to know if it's
possible that
a web service return a collection of beans as shown above ?
Thanks for your help.
Ludovic. -
User authentication error with Proxy Java Calling web Service in XI
Hello,
I have deploy a Web Service in SAP XI 3.0. within a SOAP sender adapter.
I have also created the Proxy Java Class to access the webservice in the Developer Studio and a Plain Java Class (only with a method main) which uses the proxy classes to consume the web service.
But when I launch the program a get the next error message:
java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.everis.serviciosweb.xi.MI_OUT_STATUSBindingStub.MI_OUT_STATUS(MI_OUT_STATUSBindingStub.java:73)
at com.everis.llamadas.invocacionWSStatus.main(invocacionWSStatus.java:76)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage
Where MI_OUT_STATUSBindingStub is my Stub Class.
I have tried to set USERNAME_PROPERTY and PASSWORD_PROPERTY at runtime from my Stub class to the values that I use to access SAP XI (Integration Repository & Integration Directory) but it still doesn't´t work.
Have anyone a solution?
Thanks.Hi,
finally I have fixed it.
The root of the problem was on the way that I proceed with the generation of wsdl in Integration Directory.
The second step in the wizard for generation of wsdl ask for a url to call the web service and gives you an option to complete the url automatic. I have use this option and it have proposed my an url of type http://<host>:<port>/sap/xi/engine?entry=.......
But the SOAP adapter call is in the form http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<business service>:<channel>
So using this type of url in the generation of wsld solves all the problems.
Regards,
Antonio. -
Runtime error with doc/lit style web services
I've written a web service client (wrapped doc/lit style) and when I try to invoke the service, I get the following runtime error. I see some have reported the same error before and I don't see a resolution for the issue. Any help to resolve the issue is appreciated.
My environment:
Standalone web service client
JARs used from JDEV 10.1.2
Java 1.4.2
I verified there are no duplicate implementations of the DOM Parser; I just use xmlparserv2.jar
Exception in thread "main" java.lang.AbstractMethodError: oracle.xml.parser.v2.X
MLElement.getNamespaceURI()Ljava/lang/String;
at org.apache.soap.util.xml.DOM2Writer.print(DOM2Writer.java:139)
at org.apache.soap.util.xml.DOM2Writer.serializeAsXML(DOM2Writer.java:98
at org.apache.soap.Utils.marshallNode(Utils.java:109)
at org.apache.soap.Body.marshall(Body.java:165)
at org.apache.soap.Envelope.marshall(Envelope.java:203)
at org.apache.soap.Envelope.marshall(Envelope.java:161)
at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHT
TPConnection.java:664)
at org.apache.soap.messaging.Message.send(Message.java:125)
at emgateway.main.EMWSStub.sendRequest(EMWSStub.java:106)Hi John,
Yes this is certainly possible. The role of client, server and service
gets blurred when dealing with multiple web services. For an example,
you can take a look at the work done by WS-I for the sample application
[1], where multiple types of web services communicate with each other.
Regards,
Bruce
[1]
http://www.ws-i.org/SampleApplications/SupplyChainManagement/2003-12/SCMArchitecture1.01.pdf
John Meiser wrote:
>
Can a doc-style Web Service invoke an RPC-Style Web Service? I know that we cannot
mix RPC with Doc-style in the same Service, but I was wondering if RPC and Doc-style
can call each other.
Thanks,
John -
Getting error while deploying a simple web services
Hi
i am new to web services when i am deploying the web service using
deployment descriptor(WSDD) file using admin client i am getting the follwing error can any body help regarding this.
Mydeployment descriptor is
deploy.wsdd
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="MyService" provider="java:RPC">
<parameter name="className" value="samples.userguide.example3.MyService"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment>
I am getting exception as
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\clas
ses>java org.apache.axis.client.AdminClient deploy.wsdd
Feb 5, 2008 2:34:54 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax
.mail.internet.MimeMultipart). Attachment support is disabled.
Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection refused: connect
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Conne
ction refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
ketFactory.java:153)
at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSoc
ketFactory.java:120)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1
91)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
va:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.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:165)
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:1792)
at org.apache.axis.client.AdminClient.process(AdminClient.java:439)
at org.apache.axis.client.AdminClient.process(AdminClient.java:404)
at org.apache.axis.client.AdminClient.process(AdminClient.java:410)
at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
at org.apache.axis.client.AdminClient.main(AdminClient.java:463)
{http://xml.apache.org/axis/}hostname:MUM-12016RSHi Jhansi,
Whether u create HRconnDS in ur Weblogic server
If not create it ...
If yes just check it out whether u gave a correct connection string for it......
Regards,
Suganth.G -
Creating a new project with custom fields using web services
I've been trying unsuccessfully for the last week or so to successfully create a new project from web services and I believe the main problem that I've been running into is that one of the required fields is a custom field. I've tried creating the Project
in a couple of different ways and haven't had any success up to this point, so any help would be appreciated. I've tried creating it with both a REST call to /_api/ProjectServer/Projects and a SOAP call to /_vti_bin/PSI/Project.asmx. Below are the best shots
I've made at the two different calls with the errors I received. If anyone has any leads on the best way to do this the help would be appreciated!
REST POST /_api/ProjectServer/Projects
'odata.type' : 'PS.PublishedProject',
'Name' : 'OData Name',
'Custom_9d77d62aa92e4d40adc8446c90eb7456' : "O&M"
Response
error: {
code: "11713, Microsoft.ProjectServer.PJClientCallableException"
message: {
lang: "en-US"
value: "PJClientCallableException: CustomFieldRequiredValueNotProvided CustomFieldRequiredValueNotProvided mdpropuid = 9d77d62a-a92e-4d40-adc8-446c90eb7456"
SOAP POST /_vti_bin/PSI/Project.asmx
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:proj="http://schemas.microsoft.com/office/project/server/webservices/Project/" xmlns:projds="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
<soapenv:Header />
<soapenv:Body>
<proj:QueueCreateProject>
<proj:dataset>
<ProjectDataSet xmlns="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
<Project>
<PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
<PROJ_NAME>Proj Dept Test 2</PROJ_NAME>
<PROJ_TYPE>0</PROJ_TYPE>
</Project>
<ProjectCustomFields>
<CUSTOM_FIELD_UID>4802a711-62a0-4f84-8e08-c7d22daadb5b</CUSTOM_FIELD_UID>
<PROJ_UID>e1c2d38b-1529-4128-b707-42a94045e55b</PROJ_UID>
<MD_PROP_UID>9d77d62a-a92e-4d40-adc8-446c90eb7456</MD_PROP_UID>
<FIELD_TYPE_ENUM>21</FIELD_TYPE_ENUM>
<CODE_VALUE>a47930d6-b89d-4f3a-b4e3-522015fe82a1</CODE_VALUE>
</ProjectCustomFields>
</ProjectDataSet>
</proj:dataset>
<proj:validateOnly>true</proj:validateOnly>
</proj:QueueCreateProject>
</soapenv:Body>
</soapenv:Envelope>
Response
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:Server</faultcode>
<faultstring xml:lang="en-US">ProjectServerError(s) LastError=GeneralUnhandledException Instructions: Pass this into PSClientError constructor to access all error information</faultstring>
<detail>
<errinfo>
<general>
<class name="General Unhandled Exception in _Project.QueueCreateProject_">
<error id="42" name="GeneralUnhandledException" uid="184feeaf-906a-e411-9b2a-00155d388b02" Exception="System.Data.StrongTypingException: The value for column 'PROJ_TYPE' in table 'Project' is DBNull. ---> System.InvalidCastException: Specified cast is not valid.
at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
--- End of inner exception stack trace ---
at Microsoft.Office.Project.Server.Schema.ProjectDataSet.ProjectRow.get_PROJ_TYPE()
at Microsoft.Office.Project.Server.BusinessLayer.Project.FixupProjectType(ProjectDataSet projDS)
at Microsoft.Office.Project.Server.BusinessLayer.Project.QueueCreateProject(Guid jobUid, ProjectDataSet dataset, Boolean validateOnly)
at Microsoft.Office.Project.Server.Wcf.Implementation.ProjectImpl.<>c__DisplayClasse.<QueueCreateProject>b__d()
at Microsoft.Office.Project.Server.Wcf.Implementation.WcfMethodInvocation.InvokeBusinessObjectMethod(String businessObjectName, String methodName, IEnumerable`1 actions)"/>
</class>
</general>
</errinfo>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>Julie,
You can create the fields that are project specifc & you can create fields that apply to all projects but have specific options for projects. Your goal is to create fields that are specific to each project, but right now you get all fields from you old project - is this correct?
From your description below it appears that the fields in your original project are marked as applied to all projects & hence when you create a new project they are inherited. If you mark those fields as applied to certain project & then create a new project those fields will not be inherited.
But you are right in the sense that it is limiting that there is no multi-select for "applies to" field. -
HP Photosmart D110 Series getting error message when connecting to web services
Hello guys!
Hope someone can help. We have a HP Photosmart D110 series that is a couple years old. I am trying to get it connected to the web services feature for my wife. When we first got the printer it connected with no problems. When I go and click on enable web services it tells me cannot connect to server. Same error message happens when I try to do a product update. I tried to change manual preferred to 8. 8. 8. 8. and manual alternate to 8. 8. 4. 4. with no luck.
Any help would be greatly appreciated!
Thanks!!!
DanielHi Daniel, is there a chance that something has change in the intervening time in your home network e.g. a new router? This link contains a list of suggested troubleshooting steps to take if you're experiencing connectivity issues with HP Cloud Services. Try working down through them to isolate and correct the problem that is preventing you getting the D110 to connect to ePrint http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile-Printing-and-ePrintCenter/ePrint-Apps-Connecti...
Post back with how you get on.
Best.
If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
I am an HP employee. -
How to make link between xcelsius components with sap data using Web servic
Hi all,
I have a doubt regarding connection between Xcelsius components and SAP data.
I created one Web service using Function module and made a connection between xcelsius and that web service using binding URL. It shows imput and output parameters perfectly.
But I cant get any idea as to how to connect Xcelsius components with these parameters.
Can anybody help me out..
please its urgent.
Thanks,
SimadriHave you bound your output parameters to ranges of cells? Select the item, then click the icon to the right of the Insert In: box and select the cells.
Add a spreadsheet component to your chart and bind it to the cells, then preview the model. Do you see the data coming through?
If you do, then you can click File > Snapshot > Export Excel Data. Then close Preview mode, and import data from spreadsheet and select the sheet you just exported. This gives you real data to work with when designing the dashboard.
Hope that helps. -
Offline Integration of Adobe Forms with CRM System using Web Service
Hi Experts,
I have a business requirement in which the end user us given an Application Form.
The user can save the form locally and fill the data.
Now the requirement is that when the end user clicks on Submit Button on the form, a web service is called and the entire data in the form is sent to CRM System.
I want to know is it possible to capture the entire data filled in the form in a web service???
Also the other major requirement is that i need to send the application form also to the CRM system.
I need to store the form as attachement for a Business Partner Record.
Is it possible to capture the data in the adobe form and still attach the form as attachement in an Offline Scenario????
Is it possible that a Web Service can be called on click of button in the form and still be able to attach the form itself as attachment???
Thanks and Regards
Gaurav Kumar RaghavI have collected some links for WebServices for you:
https://cw.sdn.sap.com/cw/servlet/JiveServlet/download/38-51084/saptech_webservice.pdf
Re: Adobe forms with Web Service - nothing happens when clicking button.
/people/rudy.clement2/blog/2010/03/10/how-to-use-the-postexecute-event-in-sap-interactive-forms-to-retrieve-a-table-from-a-webservice
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26
Usage of webservice in offline adobe scenarios
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true
cheers Otto -
Getting error with Oracle10g Express using SQLPlus?
I just installed Oracle10g Express on Linux FC6.
I get errors in Java and SQLPlus when trying to connect to the database, or start it.
In SQLPlus as "sysdba" when I type "startup" I get this error...
ORA-27100: shared memory realm already exists
And in Java or SQLPlus when I try to connect as a valid user I get this error...
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Please help me.Have you set the environment with
. /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh?
C. -
Getting error when trying to invoke web service - disable SSL
Hi
Please advise me how to disable the SSL for bpel.
The problem which am facing is as below
I am trying to invoke web service in another site, its showing me error as
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExpiredException:
Now i would like to disable the SSL for this handshake, so that it wont look for certificates and invokes the web service directly, right.
So please advise how to disable to SSL in bpel (10.1.2) now.
Thanks
Suneel JakkaThe SSL handshake works differently to a browser as it is making the connections automatically.
The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
cheers
James -
Error Cache:
Unable to update files in cache.
Name: myApplet
java.net.MalformedURLException: no protocol: jar/dragndrop_applet.jar
I get a bunch of these Cache Errors. Happens with application only, its blackboard hosted by continuinged.uml.edu.
Run the same thing using IE it has no problems. Firefox till the latest upgrade was also working fine.
What can I do to resolve this problem?There's a bug in 3.6.14 with Java applets. 3.6.15 was released last Friday to fix that bug. Use '''Help > Check for Updates''' to start the update process to 3.6.15.
Maybe you are looking for
-
Where can i download the macbookpro drivers for windows 7.
, i know that in boot camp i can get it on a DVD, but i doen't have one. My friend said that in the macbook box, was supposed have a dvd with the drivers, but i didn't find it.
-
Just updated to iOS6 unable to connect to Appstore and passbook doesn't work
Just updated to iOS6 unable to connect to Appstore and passbook doesn't work?
-
How to find the grants given to user for package/procedure?
Hi all, how to find the grants in oracle for what all are the grants a user is having for package and procedure? Thanks & Regards, M.Murali..
-
Adobe illustrator cc2014 crashes at launch on my windows8.1 how do i fix it?
how do I get my illustrator to work on windows 8.1?
-
Windows 7 Enterprise - Cannot Print - Access Denied
Hello Guys, I have strange issues..i just created a new Windows 7 Image. Even if i'am connected with Local Admin or Domain users, i cannot print to any printers. When i want to print a test page, i receive the following error message " Print Test pag