Guadalupe Ortiz

Ranch Hand
+ Follow
since Sep 12, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Guadalupe Ortiz

Hi all,
I am trying to implement load time weaving in a Midlet Project. For doing so I have two options
a) adding a -javaagent option to the java command
b) replacing java by aj command

The dificulty for me is that I do not know where the java command is invoked for the execution of the Midlet since I only find the java command for the execution of the emulator.

Any help is really appreciated,
thanks a lot,
Guadalupe
9 years ago
Dear Jaclyn,
Could you please provide me with a simple sample code of how you included info in the SOAP Header with the JSR 172. I am currently trying with KSOAP and it is nightmare. I do not discard either do it Aleksander way, but I would be great to do it a nicest way.
I f you could give some example I would be really grateful.
Thanks a lot,
Guadalupe
9 years ago
Hello,
I am creating web service clients in mobile devices thrpugh the use of JSR 172. I am aware it does not support SoapHandlers, bt I wonder if I can create the soap message "hard doding" it to include something in the soap header. What JSR would I need to use? ANy suggestion or example?

On the other hand, is there any difference in this scope in using CDC or CDLC?

Any suggestion is appreciated.
Thanks a lot,
Guadalupe
9 years ago
Hi,
I have created a web service , with Axis, which returns a bean with some attributes. Among all the attributes, one of them is an array of Strings.
If a create a J2EE client, it works perfectly, but when I create a J2ME client I am not able to read the array from the bean. It seems that in the stub created the type of the array of Strings have changed into a new type (ArrayOf_xsd_string) and there seems to be a method to get the array of strings: getItem(). But if I use it I get o get the String[] from the ArrayOf_xsd_string[], I get a null pointer exception.

Any suggestion is welcome.
Thanks lot!
9 years ago
I have got three different questions:
*I want to create an stereotype which extends an operation behaviour. In this sense I create an sterotype, called xx, which extends the operation metaclass.

When I want to use it I just add the lable <<xx>> before the operation name.

I wondered if it is "legal" in uml to add, as chacrteristic of the sterotype one or more attributes and operations [I mean into the profile where I define the stereotype], then this attributes and operations would be specified to the particular stereotype by using a note.

* On the other hand, if I define a stereotype called <xx> for an operation, can I have different instances of this stereotype qith different names?, How would they apper in the final model, something like <<xx: name>>operation?

* My last question is if i have an abstract stereotype can I specify a new generalization for this sterotype in a model and then use the new stereotype (children) in order to apply to an element in the model.
Hi All
I am getting the next error : "java.lang.classformaterror: invalid index 0 in localvariabletable"l when compiling with aspectj1.1 and jdk 1.5. I have read in some forums that it was a bug uin jdk 1.5Beta; i Wonder if it has been solved or if it is possible to solve t somehow.
Thanks in advance,
Guadalupe
12 years ago
I have a server engine in both sides, service and client, but I still have some doubts.
By now I am implementing a jsp client whihc uses JAXRPC to invoke a remte JAXRPC service. So my questions would be:
i) If I still have my jsp client how do I update the information in the page when "i receive" the invocation?
ii) I am sorry I am not familiarized with servlets as I was using JAXRPC clients and services from the begining. I think that I must build the SOAP message to send in the servlet, but I was trying it and I get an error about the opperation name, but anyway I do not kow if that is what i have to do. Please tell me if I am wrong in my steps.
Thank-you very much for your help,
Guadalupe
13 years ago
Thanks for your reply, but how do you implement a callback interface? Is it possible to do it with JAXRPC?
Thanks again for your attention,
Gobellot
13 years ago
I know how a a client can do a one -way invocation to a service in JAXRPC. But, what about if I want the client to receive a message for other service which he has not invoked. Is it possible? How the client expects the answer? How the remote service sends the this answer?
Any help is grateful,
Guadalupe
13 years ago
I am implementing JAXRPC services with JWSDP:
I have implemented, on the one hand, a client which invokes a service
dinamically (so the WSDL and all the information about the service is
unknown til runtime) following the dii example in the jaxrpc tutorial.

On the other hand, I have implemented a client whihc use a SOAP handler to
include aditional information in the SOAP message to a service, following
the handler example in the tutorial.

What about if I want both things in the same client. I mean, I want a client
who invokes a service dinamically and uses a handler to add some information
to the SOAP message. How can I do it? >Because, as the invocation is dynamic
i have not the config.wsdl file where I "linked" the handler to the specific
wsdl of the service to be invoked.
Any help is gratefull,
Guadalupe
13 years ago
Is it posible to modle web services with UML? Can anybody suggest me a free tool for doing it?
Thanks in advance,
Guadalupe
13 years ago
I am interested on creating a client for invoking a web service which is not
known until runtime. I have checked the dii advanced example in JAXRPC but
it still use the remote service WSDL file at compilation time. Is it
possible to compile a client who does not know the service which is going to
invoke until runtime? (I could pass the service location when invoking the
client) Where could I find information about this?,
Thanks in adavance.
Guadalupe
13 years ago
I am interested on creating a client for invoking a web service which is not
known until runtime. I have checked the dii advanced example in JAXRPC but
it still use the remote service WSDL file at compilation time. Is it
possible to compile a client who does not know the service which is going to
invoke until runtime? (I could pass the service location when invoking the
client) Where could I find information about this?,
Thanks in adavance.
Guadalupe
13 years ago
I have just installed jwsdp1.3 in a pc and it is the third pc I install this week. I had no problems with the two first, but with this one, doing the same configuration , i get the next error when compiling:

javaNoClassDefFoundError: de

It looks like a path error. I have checked them, but they are ok (and exactly the same as in the other pcs)
Any sugestion is welcome!

Guadalupe
13 years ago
I am using JWSDP1.3 with Tomcat to develope web services. When I implement my Java client and encript my parameters I have no problem. But when I impement my client using JSP I get the next error when trying to encript:

java.security.NoSuchAlgorithmException: Cannot find any provider supporting DES

I have the sunjce_provider.jar in the common lib path of tomcat, but this path is included in the compile path of the jsp client and there is no problem at compilation. The problem comes at execution that is when I get the refered erro.
I suppose that the classpath at runtime is different when using JSP pages, but I do not know where I should place the jar file.
Thank you very much for your help,
guadalupe
13 years ago
JSP